org.codehaus.xfire.java.type
Class ArrayType

java.lang.Object
  extended by org.codehaus.xfire.java.type.Type
      extended by org.codehaus.xfire.java.type.ArrayType
All Implemented Interfaces:
org.codehaus.xfire.wsdl.WSDLType

public class ArrayType
extends Type

An ArrayType.

Author:
Dan Diephouse

Constructor Summary
ArrayType()
           
 
Method Summary
protected  Type getComponentType()
           
 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.
 java.lang.Object readObject(MessageReader reader)
           
 void writeObject(java.lang.Object object, MessageWriter writer)
           
 void writeSchema(org.dom4j.Element root)
           
 
Methods inherited from class org.codehaus.xfire.java.type.Type
equals, getSchemaType, getTypeClass, getTypeMapping, hashCode, setSchemaType, setTypeClass, setTypeMapping
 
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)
                            throws org.codehaus.xfire.XFireRuntimeException
Specified by:
readObject in class Type
Throws:
org.codehaus.xfire.XFireRuntimeException

writeObject

public void writeObject(java.lang.Object object,
                        MessageWriter writer)
                 throws org.codehaus.xfire.XFireRuntimeException
Specified by:
writeObject in class Type
Throws:
org.codehaus.xfire.XFireRuntimeException

writeSchema

public void writeSchema(org.dom4j.Element root)
Specified by:
writeSchema in interface org.codehaus.xfire.wsdl.WSDLType
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.WSDLType
Overrides:
isComplex in class Type
Returns:
True if a complex type schema must be written.
See Also:
Type.isComplex()

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.WSDLType
Overrides:
getDependencies in class Type
See Also:
Type.getDependencies()

getComponentType

protected Type getComponentType()


Copyright © 2004 Codehaus. All Rights Reserved.