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)
           
 void writeObject(java.lang.Object object, MessageWriter writer, MessageContext context)
           
 
Methods inherited from class org.codehaus.xfire.aegis.type.Type
equals, getDependencies, getTypeClass, getTypeMapping, hashCode, isNillable, setAbstract, setNillable, setSchemaType, setTypeClass, setTypeMapping, writeSchema
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, 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
Specified by:
readObject in class Type
Throws:
XFireFault

writeObject

public void writeObject(java.lang.Object object,
                        MessageWriter writer,
                        MessageContext context)
                 throws XFireFault
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()
Overrides:
isWriteOuter in class Type


Copyright © 2004-2005 Codehaus. All Rights Reserved.