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

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

public class CollectionType
extends ArrayType


Constructor Summary
CollectionType(java.lang.Class 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)
           
 void writeObject(java.lang.Object object, MessageWriter writer, org.codehaus.xfire.MessageContext context)
           
 
Methods inherited from class org.codehaus.xfire.aegis.type.basic.ArrayType
getComponentName, getDependencies, isComplex, makeArray, setComponentName, 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionType

public CollectionType(java.lang.Class componentType)
Method Detail

readObject

public java.lang.Object readObject(MessageReader reader,
                                   org.codehaus.xfire.MessageContext context)
                            throws org.codehaus.xfire.fault.XFireFault
Overrides:
readObject in class ArrayType
Throws:
org.codehaus.xfire.fault.XFireFault

createCollection

protected java.util.Collection createCollection()

writeObject

public void writeObject(java.lang.Object object,
                        MessageWriter writer,
                        org.codehaus.xfire.MessageContext context)
                 throws org.codehaus.xfire.fault.XFireFault
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-2006 null. All Rights Reserved.