org.codehaus.xfire.aegis.type.basic
Class ArrayType

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

public class ArrayType
extends Type

An ArrayType.

Author:
Dan Diephouse

Constructor Summary
ArrayType()
           
 
Method Summary
 javax.xml.namespace.QName getComponentName()
           
 Type getComponentType()
          Get the Type of the elements in the array.
 java.util.Set getDependencies()
          Return a set of Type dependencies.
 boolean isComplex()
          We need to write a complex type schema for Beans, so return true.
protected  java.lang.Object makeArray(java.lang.Class arrayType, java.util.List values)
           
 java.lang.Object readObject(MessageReader reader, org.codehaus.xfire.MessageContext context)
           
 void setComponentName(javax.xml.namespace.QName componentName)
           
 void writeObject(java.lang.Object values, MessageWriter writer, org.codehaus.xfire.MessageContext context)
           
 void writeSchema(org.jdom.Element root)
           
protected  void writeValue(java.lang.Object value, MessageWriter writer, org.codehaus.xfire.MessageContext context, Type type, java.lang.String name, java.lang.String ns)
           
 
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

ArrayType

public ArrayType()
Method Detail

readObject

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

makeArray

protected java.lang.Object makeArray(java.lang.Class arrayType,
                                     java.util.List values)

writeObject

public void writeObject(java.lang.Object values,
                        MessageWriter writer,
                        org.codehaus.xfire.MessageContext context)
                 throws org.codehaus.xfire.fault.XFireFault
Specified by:
writeObject in class Type
Throws:
org.codehaus.xfire.fault.XFireFault

writeValue

protected void writeValue(java.lang.Object value,
                          MessageWriter writer,
                          org.codehaus.xfire.MessageContext context,
                          Type type,
                          java.lang.String name,
                          java.lang.String ns)
                   throws org.codehaus.xfire.fault.XFireFault
Throws:
org.codehaus.xfire.fault.XFireFault

writeSchema

public void writeSchema(org.jdom.Element root)
Specified by:
writeSchema in interface org.codehaus.xfire.wsdl.SchemaType
Overrides:
writeSchema in class Type

isComplex

public boolean isComplex()
We need to write a complex type schema for Beans, so return true.

Specified by:
isComplex in interface org.codehaus.xfire.wsdl.SchemaType
Overrides:
isComplex in class Type
Returns:
True if a complex type schema must be written.
See Also:
Type.isComplex()

getComponentName

public javax.xml.namespace.QName getComponentName()

setComponentName

public void setComponentName(javax.xml.namespace.QName componentName)

getDependencies

public java.util.Set getDependencies()
Description copied from class: Type
Return a set of Type dependencies. Returns null if this type has no dependencies.

Specified by:
getDependencies in interface org.codehaus.xfire.wsdl.SchemaType
Overrides:
getDependencies in class Type
Returns:
Set of Type dependencies
See Also:
Type.getDependencies()

getComponentType

public Type getComponentType()
Get the Type of the elements in the array.

Returns:


Copyright © 2004-2006 null. All Rights Reserved.