|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.aegis.type.Type
org.codehaus.xfire.aegis.type.basic.ArrayType
public class ArrayType
An ArrayType.
Constructor Summary | |
---|---|
ArrayType()
|
Method Summary | |
---|---|
protected java.util.Collection |
createCollection()
|
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. |
long |
getMaxOccurs()
|
long |
getMinOccurs()
|
boolean |
isComplex()
We need to write a complex type schema for Beans, so return true. |
boolean |
isFlat()
|
protected java.lang.Object |
makeArray(java.lang.Class arrayType,
java.util.Collection values)
|
protected java.util.Collection |
readCollection(MessageReader reader,
org.codehaus.xfire.MessageContext context)
|
java.lang.Object |
readObject(MessageReader reader,
org.codehaus.xfire.MessageContext context)
Read in the XML fragment and create an object. |
void |
setComponentName(javax.xml.namespace.QName componentName)
|
void |
setFlat(boolean flat)
|
void |
setMaxOccurs(long maxOccurs)
|
void |
setMinOccurs(long minOccurs)
|
void |
writeObject(java.lang.Object values,
MessageWriter writer,
org.codehaus.xfire.MessageContext context)
Writes the object to the MessageWriter. |
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, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArrayType()
Method Detail |
---|
public java.lang.Object readObject(MessageReader reader, org.codehaus.xfire.MessageContext context) throws org.codehaus.xfire.fault.XFireFault
Type
readObject
in class Type
org.codehaus.xfire.fault.XFireFault
protected java.util.Collection createCollection()
protected java.util.Collection readCollection(MessageReader reader, org.codehaus.xfire.MessageContext context) throws org.codehaus.xfire.fault.XFireFault
org.codehaus.xfire.fault.XFireFault
protected java.lang.Object makeArray(java.lang.Class arrayType, java.util.Collection values)
public void writeObject(java.lang.Object values, MessageWriter writer, org.codehaus.xfire.MessageContext context) throws org.codehaus.xfire.fault.XFireFault
Type
writeObject
in class Type
org.codehaus.xfire.fault.XFireFault
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
org.codehaus.xfire.fault.XFireFault
public void writeSchema(org.jdom.Element root)
writeSchema
in interface org.codehaus.xfire.wsdl.SchemaType
writeSchema
in class Type
public boolean isComplex()
isComplex
in interface org.codehaus.xfire.wsdl.SchemaType
isComplex
in class Type
Type.isComplex()
public javax.xml.namespace.QName getComponentName()
public void setComponentName(javax.xml.namespace.QName componentName)
public java.util.Set getDependencies()
Type
getDependencies
in interface org.codehaus.xfire.wsdl.SchemaType
getDependencies
in class Type
Type
dependenciesType.getDependencies()
public Type getComponentType()
Type
of the elements in the array.
public long getMaxOccurs()
public void setMaxOccurs(long maxOccurs)
public long getMinOccurs()
public void setMinOccurs(long minOccurs)
public boolean isFlat()
public void setFlat(boolean flat)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |