Author: heiko.braun(a)jboss.com
Date: 2006-12-04 12:36:49 -0500 (Mon, 04 Dec 2006)
New Revision: 1550
Removed:
trunk/src/test/java/org/jboss/test/ws/Runner.java
Log:
cleanup
Deleted: trunk/src/test/java/org/jboss/test/ws/Runner.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/Runner.java 2006-12-04 17:35:57 UTC (rev 1549)
+++ trunk/src/test/java/org/jboss/test/ws/Runner.java 2006-12-04 17:36:49 UTC (rev 1550)
@@ -1,41 +0,0 @@
-package org.jboss.test.ws;
-
-import com.sun.xml.bind.v2.runtime.JAXBContextImpl;
-
-import javax.xml.bind.JAXBContext;
-import javax.xml.bind.JAXBIntrospector;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlMimeType;
-
-/**
- * Created by IntelliJ IDEA.
- * User: hbraun
- * Date: 04.12.2006
- * Time: 12:20:42
- * To change this template use File | Settings | File Templates.
- */
-public class Runner {
-
- public static void main(String[] args) throws Exception
- {
-
- JAXBContext jaxb = JAXBContext.newInstance(TestBinary.class);
- JAXBIntrospector ins = jaxb.createJAXBIntrospector();
-
- TestBinary testBinary = new TestBinary();
-
- //System.out.println( "name: "+ins.getElementName(testBinary) );
- //System.out.println( "isElement:" + ins.isElement(testBinary) );
- JAXBContextImpl impl = (JAXBContextImpl)jaxb;
- System.out.println("xmimeContentType: "+
impl.getXMIMEContentType(testBinary) );
- System.out.println("beanInfo: "+ impl.getBeanInfo(testBinary));
-
- }
-
- @XmlRootElement(name="TestBinary", namespace =
"org.jboss.test.ws")
- static class TestBinary {
-
- @XmlMimeType("image/jpeg")
- public byte[] data;
- }
-}
Show replies by date