Groovy Documentation

src.java.org.grails.xfire.aegis.type.basic
Class ArrayType

java.lang.Object
  org.grails.xfire.aegis.type.Type
      src.java.org.grails.xfire.aegis.type.basic.ArrayType

class ArrayType
extends Type

An ArrayType.

author:
Dan Diephouse


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 Type of the elements in the array.

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

componentName

private QName componentName


flat

private boolean flat


logger

private static final Log logger


maxOccurs

private long maxOccurs


minOccurs

private long minOccurs


 
Constructor Detail

ArrayType

public ArrayType()


 
Method Detail

createCollection

protected Collection createCollection()


getComponentName

public QName getComponentName()


getComponentType

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


getDependencies

public Set getDependencies()
see:
org.grails.xfire.aegis.type.Type#getDependencies()


getMaxOccurs

public long getMaxOccurs()


getMinOccurs

public long getMinOccurs()


isComplex

public boolean isComplex()
We need to write a complex type schema for Beans, so return true.
see:
org.grails.xfire.aegis.type.Type#isComplex()


isFlat

public boolean isFlat()


makeArray

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


readCollection

protected Collection readCollection(MessageReader reader, MessageContext context)


readObject

public java.lang.Object readObject(MessageReader reader, MessageContext context)


setComponentName

public void setComponentName(QName componentName)


setFlat

public void setFlat(boolean flat)


setMaxOccurs

public void setMaxOccurs(long maxOccurs)


setMinOccurs

public void setMinOccurs(long minOccurs)


writeObject

public void writeObject(java.lang.Object values, MessageWriter writer, MessageContext context)


writeSchema

public void writeSchema(Element root)


writeValue

protected void writeValue(java.lang.Object value, MessageWriter writer, MessageContext context, Type type, java.lang.String name, java.lang.String ns)


 

Groovy Documentation