|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cxf.aegis.type.Type
org.apache.cxf.aegis.type.basic.ArrayType
public class ArrayType
An ArrayType.
Field Summary |
---|
Fields inherited from class org.apache.cxf.aegis.type.Type |
---|
typeClass |
Constructor Summary | |
---|---|
ArrayType()
|
Method Summary | |
---|---|
protected java.util.Collection<java.lang.Object> |
createCollection()
|
javax.xml.namespace.QName |
getComponentName()
|
Type |
getComponentType()
Get the Type of the elements in the array. |
java.util.Set<Type> |
getDependencies()
Return a set of Type dependencies. |
long |
getMaxOccurs()
|
long |
getMinOccurs()
|
boolean |
hasMaxOccurs()
|
boolean |
hasMinOccurs()
|
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,
Context context)
|
java.lang.Object |
readObject(MessageReader reader,
Context 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,
Context context)
Writes the object to the MessageWriter. |
void |
writeSchema(org.jdom.Element root)
If this type should correspond to a global, named, schema type, here is where the type object adds it to the schema. |
protected void |
writeValue(java.lang.Object value,
MessageWriter writer,
Context context,
Type type,
java.lang.String name,
java.lang.String ns)
|
Methods inherited from class org.apache.cxf.aegis.type.Type |
---|
addToSchemaElement, equals, getSchemaType, getTypeClass, getTypeMapping, hashCode, isAbstract, isNillable, isWriteOuter, setAbstract, setNillable, setSchemaType, setTypeClass, setTypeMapping, setWriteOuter, toString, usesUtilityTypes, usesXmime |
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, Context context) throws DatabindingException
Type
readObject
in class Type
DatabindingException
protected java.util.Collection<java.lang.Object> createCollection()
protected java.util.Collection readCollection(MessageReader reader, Context context) throws DatabindingException
DatabindingException
protected java.lang.Object makeArray(java.lang.Class arrayType, java.util.Collection values)
public void writeObject(java.lang.Object values, MessageWriter writer, Context context) throws DatabindingException
Type
writeObject
in class Type
DatabindingException
protected void writeValue(java.lang.Object value, MessageWriter writer, Context context, Type type, java.lang.String name, java.lang.String ns) throws DatabindingException
DatabindingException
public void writeSchema(org.jdom.Element root)
Type
writeSchema
in class Type
root
- root of the XSD document.public boolean isComplex()
isComplex
in class Type
Type.isComplex()
public javax.xml.namespace.QName getComponentName()
public void setComponentName(javax.xml.namespace.QName componentName)
public java.util.Set<Type> getDependencies()
Type
getDependencies
in class Type
Type
dependenciesType.getDependencies()
public Type getComponentType()
Type
of the elements in the array.
public long getMaxOccurs()
getMaxOccurs
in class Type
public void setMaxOccurs(long maxOccurs)
public long getMinOccurs()
getMinOccurs
in class Type
public void setMinOccurs(long minOccurs)
public boolean isFlat()
public void setFlat(boolean flat)
public boolean hasMaxOccurs()
hasMaxOccurs
in class Type
public boolean hasMinOccurs()
hasMinOccurs
in class Type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |