org.codehaus.xfire.aegis.type.collection
Class CollectionType
java.lang.Object
org.codehaus.xfire.aegis.type.Type
org.codehaus.xfire.aegis.type.basic.ArrayType
org.codehaus.xfire.aegis.type.collection.CollectionType
- All Implemented Interfaces:
- org.codehaus.xfire.wsdl.SchemaType
public class CollectionType
- extends ArrayType
Method Summary |
protected java.util.Collection |
createCollection()
|
Type |
getComponentType()
Get the Type of the elements in the array. |
java.lang.Object |
readObject(MessageReader reader,
org.codehaus.xfire.MessageContext context)
Read in the XML fragment and create an object. |
void |
writeObject(java.lang.Object object,
MessageWriter writer,
org.codehaus.xfire.MessageContext context)
Writes the object to the MessageWriter. |
Methods inherited from class org.codehaus.xfire.aegis.type.basic.ArrayType |
getComponentName, getDependencies, getMaxOccurs, getMinOccurs, isComplex, isFlat, makeArray, readCollection, setComponentName, setFlat, setMaxOccurs, setMinOccurs, writeSchema, writeValue |
Methods inherited from class org.codehaus.xfire.aegis.type.Type |
equals, getSchemaType, getTypeClass, getTypeMapping, hashCode, isAbstract, isNillable, isWriteOuter, setAbstract, setNillable, setSchemaType, setTypeClass, setTypeMapping, setWriteOuter, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CollectionType
public CollectionType(Type componentType)
readObject
public java.lang.Object readObject(MessageReader reader,
org.codehaus.xfire.MessageContext context)
throws org.codehaus.xfire.fault.XFireFault
- Description copied from class:
Type
- Read in the XML fragment and create an object.
- Overrides:
readObject
in class ArrayType
- Returns:
-
- Throws:
org.codehaus.xfire.fault.XFireFault
createCollection
protected java.util.Collection createCollection()
- Overrides:
createCollection
in class ArrayType
writeObject
public void writeObject(java.lang.Object object,
MessageWriter writer,
org.codehaus.xfire.MessageContext context)
throws org.codehaus.xfire.fault.XFireFault
- Description copied from class:
Type
- Writes the object to the MessageWriter.
- Overrides:
writeObject
in class ArrayType
- Throws:
org.codehaus.xfire.fault.XFireFault
getComponentType
public Type getComponentType()
- Description copied from class:
ArrayType
- Get the
Type
of the elements in the array.
- Overrides:
getComponentType
in class ArrayType
- Returns:
Copyright © 2004-2010. All Rights Reserved.