org.codehaus.xfire.xmlbeans
Class XMLBeansType

java.lang.Object
  extended by org.codehaus.xfire.type.Type
      extended by org.codehaus.xfire.xmlbeans.XMLBeansType
All Implemented Interfaces:
SchemaType

public class XMLBeansType
extends Type

Since:
Nov 13, 2004
Author:
Dan Diephouse

Constructor Summary
XMLBeansType()
           
XMLBeansType(org.apache.xmlbeans.SchemaType schemaType)
           
 
Method Summary
 boolean isComplex()
          Whether or not this a complex type.
 java.lang.Object readObject(MessageReader reader, MessageContext context)
           
 void writeObject(java.lang.Object o, MessageWriter writer, MessageContext context)
           
 void writeSchema(org.codehaus.yom.Element element)
          Write the type schema (if complex) to the element.
 
Methods inherited from class org.codehaus.xfire.type.Type
equals, getDependencies, getSchemaType, getTypeClass, getTypeMapping, hashCode, isAbstract, setAbstract, setSchemaType, setTypeClass, setTypeMapping
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLBeansType

public XMLBeansType()

XMLBeansType

public XMLBeansType(org.apache.xmlbeans.SchemaType schemaType)
Method Detail

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 o,
                        MessageWriter writer,
                        MessageContext context)
                 throws XFireFault
Specified by:
writeObject in class Type
Throws:
XFireFault

writeSchema

public void writeSchema(org.codehaus.yom.Element element)
Description copied from interface: SchemaType
Write the type schema (if complex) to the element.

Specified by:
writeSchema in interface SchemaType
Overrides:
writeSchema in class Type

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.