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

java.lang.Object
  extended by org.apache.cxf.aegis.type.Type
      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.Type
typeClass
 
Constructor Summary
CollectionType(Type componentType)
           
 
Method Summary
protected  java.util.Collection<java.lang.Object> createCollection()
           
 Type getComponentType()
          Get the Type of the elements in the array.
 java.lang.Object readObject(MessageReader reader, Context context)
          Read in the XML fragment and create an object.
 void writeObject(java.lang.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, setComponentName, setFlat, setMaxOccurs, setMinOccurs, writeSchema, writeValue
 
Methods inherited from class org.apache.cxf.aegis.type.Type
addToSchemaElement, equals, getSchemaType, getTypeClass, getTypeMapping, hashCode, isAbstract, isNillable, isWriteOuter, setAbstract, 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(Type componentType)
Method Detail

readObject

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

Overrides:
readObject in class ArrayType
Returns:
Throws:
DatabindingException

createCollection

protected java.util.Collection<java.lang.Object> createCollection()
Overrides:
createCollection in class ArrayType

writeObject

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

Overrides:
writeObject in class ArrayType
Throws:
DatabindingException

getComponentType

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

Overrides:
getComponentType in class ArrayType
Returns:


Apache CXF