org.codehaus.xfire.jaxb2
Class JaxbType

java.lang.Object
  extended by Type
      extended by org.codehaus.xfire.jaxb2.JaxbType

public class JaxbType
extends Type


Constructor Summary
JaxbType(java.lang.Class clazz)
           
 
Method Summary
 JAXBContext getJAXBContext()
           
static java.lang.String getPackageNs(java.lang.Class clazz)
           
 javax.xml.namespace.QName getSchemaType()
           
 void initType()
           
 boolean isComplex()
           
 boolean isWriteOuter()
           
 java.lang.Object readObject(MessageReader reader, MessageContext context)
           
 void writeObject(java.lang.Object object, MessageWriter writer, MessageContext context)
           
 void writeSchema(Element root)
          JAXB doesn't retain all the schema information at runtime, so schemas must be added manually.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxbType

public JaxbType(java.lang.Class clazz)
Method Detail

readObject

public java.lang.Object readObject(MessageReader reader,
                                   MessageContext context)
                            throws XFireFault
Throws:
XFireFault

writeObject

public void writeObject(java.lang.Object object,
                        MessageWriter writer,
                        MessageContext context)
                 throws XFireFault
Throws:
XFireFault

getJAXBContext

public JAXBContext getJAXBContext()
                           throws JAXBException
Throws:
JAXBException

isComplex

public boolean isComplex()

isWriteOuter

public boolean isWriteOuter()

getSchemaType

public javax.xml.namespace.QName getSchemaType()

initType

public void initType()

getPackageNs

public static java.lang.String getPackageNs(java.lang.Class clazz)

writeSchema

public void writeSchema(Element root)
JAXB doesn't retain all the schema information at runtime, so schemas must be added manually. So, this method does absolutely nothing.



Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.