org.apache.cxf.aegis.type.java5
Class EnumType
java.lang.Object
org.apache.cxf.aegis.type.AegisType
org.apache.cxf.aegis.type.java5.EnumType
public class EnumType
- extends AegisType
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 |
EnumType
public EnumType()
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