Apache CXF API

org.apache.cxf.aegis.type.java5
Class EnumType

java.lang.Object
  extended by org.apache.cxf.aegis.type.AegisType
      extended by org.apache.cxf.aegis.type.java5.EnumType

public class EnumType
extends AegisType


Field Summary
 
Fields inherited from class org.apache.cxf.aegis.type.AegisType
typeClass
 
Constructor Summary
EnumType()
           
 
Method Summary
 boolean isComplex()
           
 Object readObject(MessageReader reader, Context context)
          Read in the XML fragment and create an object.
 void setTypeClass(Type typeClass)
           
 void writeObject(Object object, MessageWriter writer, Context context)
          Writes the object to the MessageWriter.
 void writeSchema(org.apache.ws.commons.schema.XmlSchema root)
          If this type should correspond to a global, named, schema type, here is where the type object adds it to the schema.
 
Methods inherited from class org.apache.cxf.aegis.type.AegisType
addToSchemaElement, equals, getDependencies, getMaxOccurs, getMinOccurs, getSchemaType, getType, getTypeClass, getTypeMapping, hashCode, hasMaxOccurs, hasMinOccurs, isAbstract, isFlatArray, isNillable, isWriteOuter, setAbstract, setFlatArray, setNillable, setSchemaType, setTypeMapping, setWriteOuter, toString, usesUtilityTypes, usesXmime
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnumType

public EnumType()
Method Detail

readObject

public Object readObject(MessageReader reader,
                         Context context)
Description copied from class: AegisType
Read in the XML fragment and create an object.

Specified by:
readObject in class AegisType
Returns:

writeObject

public void writeObject(Object object,
                        MessageWriter writer,
                        Context context)
Description copied from class: AegisType
Writes the object to the MessageWriter.

Specified by:
writeObject in class AegisType

setTypeClass

public void setTypeClass(Type typeClass)
Overrides:
setTypeClass in class AegisType
Parameters:
typeClass - The typeClass to set.

writeSchema

public void writeSchema(org.apache.ws.commons.schema.XmlSchema root)
Description copied from class: AegisType
If this type should correspond to a global, named, schema type, here is where the type object adds it to the schema.

Overrides:
writeSchema in class AegisType
Parameters:
root - root of the XSD document.

isComplex

public boolean isComplex()
Overrides:
isComplex in class AegisType
Returns:
True if a complex type schema must be written.

Apache CXF API

Apache CXF