org.codehaus.xfire.aegis.type.collection
Class CollectionType

java.lang.Object
  extended by org.codehaus.xfire.aegis.type.Type
      extended by org.codehaus.xfire.aegis.type.basic.ArrayType
          extended by org.codehaus.xfire.aegis.type.collection.CollectionType
All Implemented Interfaces:
org.codehaus.xfire.wsdl.SchemaType

public class CollectionType
extends ArrayType


Constructor Summary
CollectionType(Type componentType)
           
 
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
 

Constructor Detail

CollectionType

public CollectionType(Type componentType)
Method Detail

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.