public class SoapArrayType extends AegisType
Constructor and Description |
---|
SoapArrayType() |
Modifier and Type | Method and Description |
---|---|
QName |
getComponentName()
Gets the QName of the component type of this array.
|
AegisType |
getComponentType()
Get the
AegisType of the elements in the array. |
Set<AegisType> |
getDependencies()
Return a set of AegisType dependencies.
|
protected QName |
getRootType()
Gets the QName of the root component type of this array.
|
boolean |
isComplex()
We need to write a complex type schema for Beans, so return true.
|
protected Object |
makeArray(List<Object> values,
List<Integer> dimensions,
Class<?> componentType) |
protected List<Object> |
readCollection(MessageReader reader,
Context context,
ArrayTypeInfo arrayTypeInfo,
int maxSize) |
Object |
readObject(MessageReader reader,
Context context)
Read in the XML fragment and create an object.
|
void |
setComponentName(QName componentName)
Sets the QName of the component type of this array.
|
void |
writeObject(Object values,
MessageWriter writer,
Context context)
Writes the object to the MessageWriter.
|
void |
writeSchema(org.apache.ws.commons.schema.XmlSchema root)
Throws UnsupportedOperationException
|
protected void |
writeValue(Object value,
MessageWriter writer,
Context context,
AegisType type) |
addToSchemaElement, equals, getMaxOccurs, getMinOccurs, getSchemaType, getType, getTypeClass, getTypeMapping, hashCode, hasMaxOccurs, hasMinOccurs, isAbstract, isFlatArray, isNillable, isWriteOuter, setAbstract, setFlatArray, setNillable, setSchemaType, setTypeClass, setTypeMapping, setWriteOuter, toString, usesUtilityTypes, usesXmime
public Object readObject(MessageReader reader, Context context) throws DatabindingException
AegisType
readObject
in class AegisType
DatabindingException
protected List<Object> readCollection(MessageReader reader, Context context, ArrayTypeInfo arrayTypeInfo, int maxSize) throws DatabindingException
DatabindingException
protected Object makeArray(List<Object> values, List<Integer> dimensions, Class<?> componentType)
public void writeObject(Object values, MessageWriter writer, Context context) throws DatabindingException
AegisType
writeObject
in class AegisType
DatabindingException
protected void writeValue(Object value, MessageWriter writer, Context context, AegisType type) throws DatabindingException
DatabindingException
public void writeSchema(org.apache.ws.commons.schema.XmlSchema root)
writeSchema
in class AegisType
root
- root of the XSD document.public boolean isComplex()
isComplex
in class AegisType
AegisType.isComplex()
public QName getComponentName()
public void setComponentName(QName componentName)
componentName
- the QName of the component type of this arraypublic Set<AegisType> getDependencies()
AegisType
getDependencies
in class AegisType
AegisType
dependenciespublic AegisType getComponentType()
AegisType
of the elements in the array. This is only used for writing an array.
When reading the type is solely determined by the required arrayType soap attribute.protected QName getRootType()
Apache CXF