Apache CXF API

org.apache.cxf.aegis.type.collection
Class CollectionType

java.lang.Object
  extended by org.apache.cxf.aegis.type.AegisType
      extended by org.apache.cxf.aegis.type.basic.ArrayType
          extended by org.apache.cxf.aegis.type.collection.CollectionType

public class CollectionType
extends ArrayType


Field Summary
 
Fields inherited from class org.apache.cxf.aegis.type.AegisType
typeClass
 
Constructor Summary
CollectionType(AegisType componentType)
           
 
Method Summary
protected  Collection<Object> createCollection()
           
 AegisType getComponentType()
          Get the AegisType of the elements in the array.
 Object readObject(MessageReader reader, Context context)
          Read in the XML fragment and create an object.
 void writeObject(Object object, MessageWriter writer, Context context)
          Writes the object to the MessageWriter.
 
Methods inherited from class org.apache.cxf.aegis.type.basic.ArrayType
getComponentName, getDependencies, getMaxOccurs, getMinOccurs, hasMaxOccurs, hasMinOccurs, isComplex, isFlat, makeArray, readCollection, readObject, setComponentName, setFlat, setMaxOccurs, setMinOccurs, writeObject, writeSchema, writeValue
 
Methods inherited from class org.apache.cxf.aegis.type.AegisType
addToSchemaElement, equals, getSchemaType, getType, getTypeClass, getTypeMapping, hashCode, isAbstract, isFlatArray, isNillable, isWriteOuter, setAbstract, setFlatArray, setNillable, setSchemaType, setTypeClass, setTypeMapping, setWriteOuter, toString, usesUtilityTypes, usesXmime
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CollectionType

public CollectionType(AegisType componentType)
Method Detail

readObject

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

Overrides:
readObject in class ArrayType
Returns:
Throws:
DatabindingException

createCollection

protected Collection<Object> createCollection()
Overrides:
createCollection in class ArrayType

writeObject

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

Overrides:
writeObject in class ArrayType
Throws:
DatabindingException

getComponentType

public AegisType getComponentType()
Description copied from class: ArrayType
Get the AegisType of the elements in the array.

Overrides:
getComponentType in class ArrayType
Returns:

Apache CXF API

Apache CXF