Class CollectionType
- java.lang.Object
-
- org.apache.cxf.aegis.type.AegisType
-
- org.apache.cxf.aegis.type.basic.ArrayType
-
- org.apache.cxf.aegis.type.collection.CollectionType
-
public class CollectionType extends ArrayType
-
-
Constructor Summary
Constructors Constructor Description CollectionType(AegisType componentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<Object>createCollection()AegisTypegetComponentType()Get theAegisTypeof the elements in the array.ObjectreadObject(MessageReader reader, Context context)Read in the XML fragment and create an object.voidwriteObject(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
-
-
-
-
Constructor Detail
-
CollectionType
public CollectionType(AegisType componentType)
-
-
Method Detail
-
readObject
public Object readObject(MessageReader reader, Context context) throws DatabindingException
Description copied from class:AegisTypeRead in the XML fragment and create an object.- Overrides:
readObjectin classArrayType- Returns:
- Throws:
DatabindingException
-
createCollection
protected Collection<Object> createCollection()
- Overrides:
createCollectionin classArrayType
-
writeObject
public void writeObject(Object object, MessageWriter writer, Context context) throws DatabindingException
Description copied from class:AegisTypeWrites the object to the MessageWriter.- Overrides:
writeObjectin classArrayType- Throws:
DatabindingException
-
getComponentType
public AegisType getComponentType()
Description copied from class:ArrayTypeGet theAegisTypeof the elements in the array.- Overrides:
getComponentTypein classArrayType- Returns:
-
-