Class EnumType

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

public class EnumType extends AegisType
  • Constructor Details

    • EnumType

      public EnumType()
  • Method Details

    • 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.