org.codehaus.xfire.jaxb
Class JaxbType

java.lang.Object
  extended by org.codehaus.xfire.aegis.type.Type
      extended by org.codehaus.xfire.jaxb.JaxbType
All Implemented Interfaces:
SchemaType

public class JaxbType
extends Type


Constructor Summary
JaxbType(java.lang.Class clazz, JAXBContext jaxbContext)
           
 
Method Summary
 javax.xml.namespace.QName getSchemaType()
          The schema type that this SchemaType represents.
 boolean isAbstract()
          Whether or not this a complexType or a concrete element.
 boolean isComplex()
          Whether or not this a complex type.
 boolean isWriteOuter()
           
 java.lang.Object readObject(MessageReader reader, MessageContext context)
          Read in the XML fragment and create an object.
 void writeObject(java.lang.Object object, MessageWriter writer, MessageContext context)
          Writes the object to the MessageWriter.
 
Methods inherited from class org.codehaus.xfire.aegis.type.Type
equals, getDependencies, getTypeClass, getTypeMapping, hashCode, isNillable, setAbstract, setNillable, setSchemaType, setTypeClass, setTypeMapping, setWriteOuter, toString, writeSchema
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaxbType

public JaxbType(java.lang.Class clazz,
                JAXBContext jaxbContext)
Method Detail

isAbstract

public boolean isAbstract()
Description copied from interface: SchemaType
Whether or not this a complexType or a concrete element.

Specified by:
isAbstract in interface SchemaType
Overrides:
isAbstract in class Type
Returns:

isComplex

public boolean isComplex()
Description copied from interface: SchemaType
Whether or not this a complex type. If true then the schema for this type is written out.

Specified by:
isComplex in interface SchemaType
Overrides:
isComplex in class Type
Returns:
True if a complex type schema must be written.

readObject

public java.lang.Object readObject(MessageReader reader,
                                   MessageContext context)
                            throws XFireFault
Description copied from class: Type
Read in the XML fragment and create an object.

Specified by:
readObject in class Type
Returns:
Throws:
XFireFault

writeObject

public void writeObject(java.lang.Object object,
                        MessageWriter writer,
                        MessageContext context)
                 throws XFireFault
Description copied from class: Type
Writes the object to the MessageWriter.

Specified by:
writeObject in class Type
Throws:
XFireFault

getSchemaType

public javax.xml.namespace.QName getSchemaType()
Description copied from interface: SchemaType
The schema type that this SchemaType represents.

Specified by:
getSchemaType in interface SchemaType
Overrides:
getSchemaType in class Type
Returns:
Get the schema type.

isWriteOuter

public boolean isWriteOuter()
Specified by:
isWriteOuter in interface SchemaType
Overrides:
isWriteOuter in class Type


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