|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.grails.xfire.aegis.type.Type
src.java.org.grails.xfire.aegis.type.basic.ArrayType
class ArrayType extends Type
An ArrayType.
Field Summary | |
---|---|
private QName |
componentName
|
private boolean |
flat
|
private static Log |
logger
|
private long |
maxOccurs
|
private long |
minOccurs
|
Constructor Summary | |
ArrayType()
|
Method Summary | |
---|---|
protected Collection
|
createCollection()
|
QName
|
getComponentName()
|
Type
|
getComponentType()
Get the |
Set
|
getDependencies()
|
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, Collection values)
|
protected Collection
|
readCollection(MessageReader reader, MessageContext context)
|
java.lang.Object
|
readObject(MessageReader reader, MessageContext context)
|
void
|
setComponentName(QName componentName)
|
void
|
setFlat(boolean flat)
|
void
|
setMaxOccurs(long maxOccurs)
|
void
|
setMinOccurs(long minOccurs)
|
void
|
writeObject(java.lang.Object values, MessageWriter writer, MessageContext context)
|
void
|
writeSchema(Element root)
|
protected void
|
writeValue(java.lang.Object value, MessageWriter writer, MessageContext context, Type type, java.lang.String name, java.lang.String ns)
|
Field Detail |
---|
private QName componentName
private boolean flat
private static final Log logger
private long maxOccurs
private long minOccurs
Constructor Detail |
---|
public ArrayType()
Method Detail |
---|
protected Collection createCollection()
public QName getComponentName()
public Type getComponentType()
Type
of the elements in the array.
public Set getDependencies()
public long getMaxOccurs()
public long getMinOccurs()
public boolean isComplex()
public boolean isFlat()
protected java.lang.Object makeArray(java.lang.Class arrayType, Collection values)
protected Collection readCollection(MessageReader reader, MessageContext context)
public java.lang.Object readObject(MessageReader reader, MessageContext context)
public void setComponentName(QName componentName)
public void setFlat(boolean flat)
public void setMaxOccurs(long maxOccurs)
public void setMinOccurs(long minOccurs)
public void writeObject(java.lang.Object values, MessageWriter writer, MessageContext context)
public void writeSchema(Element root)
protected void writeValue(java.lang.Object value, MessageWriter writer, MessageContext context, Type type, java.lang.String name, java.lang.String ns)
Groovy Documentation