Package 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
-
-
Constructor Summary
Constructors Constructor Description EnumType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisComplex()ObjectreadObject(MessageReader reader, Context context)Read in the XML fragment and create an object.voidsetTypeClass(Type typeClass)voidwriteObject(Object object, MessageWriter writer, Context context)Writes the object to the MessageWriter.voidwriteSchema(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
-
-
-
-
Method Detail
-
readObject
public Object readObject(MessageReader reader, Context context)
Description copied from class:AegisTypeRead in the XML fragment and create an object.- Specified by:
readObjectin classAegisType- Returns:
-
writeObject
public void writeObject(Object object, MessageWriter writer, Context context)
Description copied from class:AegisTypeWrites the object to the MessageWriter.- Specified by:
writeObjectin classAegisType
-
setTypeClass
public void setTypeClass(Type typeClass)
- Overrides:
setTypeClassin classAegisType- Parameters:
typeClass- The typeClass to set.
-
writeSchema
public void writeSchema(org.apache.ws.commons.schema.XmlSchema root)
Description copied from class:AegisTypeIf this type should correspond to a global, named, schema type, here is where the type object adds it to the schema.- Overrides:
writeSchemain classAegisType- Parameters:
root- root of the XSD document.
-
-