org.codehaus.xfire.aegis.type
Class FlatArrayType

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

public class FlatArrayType
extends Type

Author:
Dan Diephouse

Constructor Summary
FlatArrayType()
           
 
Method Summary
 void configure(org.dom4j.Element configuration, AegisService service, TypeRegistry reg)
           
 Type getChildType()
           
 java.util.Set getDependencies()
           
 java.lang.String getKey()
           
 java.lang.String getMaxOccurs()
           
 java.lang.String getMinOccurs()
           
 java.lang.String getName()
           
 org.dom4j.QName getQName()
           
 org.dom4j.QName getSchemaType()
           
 boolean isComplex()
           
 void read(org.dom4j.Element element, int occurrence, java.util.Map context)
           
 void read(org.dom4j.Element element, java.util.Map context)
           
 void setChildType(Type childType)
           
 void setKey(java.lang.String key)
           
 void write(org.dom4j.Element element, java.util.Map context)
          Uses an OGNL expression to find an array.
 void writeSchema(org.dom4j.Element root)
           
 
Methods inherited from class org.codehaus.xfire.aegis.type.Type
getDocumentation, getOgnl, setDocumentation, setMaxOccurs, setMinOccurs, setName, setOgnl, setQName, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlatArrayType

public FlatArrayType()
Method Detail

write

public void write(org.dom4j.Element element,
                  java.util.Map context)
           throws org.codehaus.xfire.fault.XFireFault
Uses an OGNL expression to find an array. It then puts each array object in as the key (see getKey() for retrieval when write()'ing in the child type.

Specified by:
write in class Type
Throws:
org.codehaus.xfire.fault.XFireFault
See Also:
Type.write(org.dom4j.Element, java.util.Map)

read

public void read(org.dom4j.Element element,
                 java.util.Map context)
          throws org.codehaus.xfire.fault.XFireFault
Specified by:
read in class Type
Throws:
org.codehaus.xfire.fault.XFireFault

read

public void read(org.dom4j.Element element,
                 int occurrence,
                 java.util.Map context)
          throws org.codehaus.xfire.fault.XFireFault
Specified by:
read in class Type
Throws:
org.codehaus.xfire.fault.XFireFault

isComplex

public boolean isComplex()
Specified by:
isComplex in interface org.codehaus.xfire.wsdl.WSDLType
Overrides:
isComplex in class Type

getDependencies

public java.util.Set getDependencies()
Specified by:
getDependencies in interface org.codehaus.xfire.wsdl.WSDLType
Overrides:
getDependencies in class Type

getChildType

public Type getChildType()

setChildType

public void setChildType(Type childType)

getKey

public java.lang.String getKey()

setKey

public void setKey(java.lang.String key)

writeSchema

public void writeSchema(org.dom4j.Element root)
Specified by:
writeSchema in interface org.codehaus.xfire.wsdl.WSDLType
Specified by:
writeSchema in class Type
See Also:
Type.writeSchema(org.dom4j.Element)

getMaxOccurs

public java.lang.String getMaxOccurs()
Overrides:
getMaxOccurs in class Type

getMinOccurs

public java.lang.String getMinOccurs()
Overrides:
getMinOccurs in class Type

getName

public java.lang.String getName()
Overrides:
getName in class Type

getQName

public org.dom4j.QName getQName()
Overrides:
getQName in class Type

getSchemaType

public org.dom4j.QName getSchemaType()
Specified by:
getSchemaType in interface org.codehaus.xfire.wsdl.WSDLType
Overrides:
getSchemaType in class Type

configure

public void configure(org.dom4j.Element configuration,
                      AegisService service,
                      TypeRegistry reg)
Specified by:
configure in class Type
See Also:
org.codehaus.xfire.aegis.type.Type#configure(org.dom4j.Element)


Copyright © 2004 Codehaus. All Rights Reserved.