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, usesXmimepublic Object readObject(MessageReader reader, Context context) throws DatabindingException
AegisTypereadObject in class AegisTypeDatabindingExceptionprotected List<Object> readCollection(MessageReader reader, Context context, ArrayTypeInfo arrayTypeInfo, int maxSize) throws DatabindingException
DatabindingExceptionprotected Object makeArray(List<Object> values, List<Integer> dimensions, Class<?> componentType)
public void writeObject(Object values, MessageWriter writer, Context context) throws DatabindingException
AegisTypewriteObject in class AegisTypeDatabindingExceptionprotected void writeValue(Object value, MessageWriter writer, Context context, AegisType type) throws DatabindingException
DatabindingExceptionpublic void writeSchema(org.apache.ws.commons.schema.XmlSchema root)
writeSchema in class AegisTyperoot - root of the XSD document.public boolean isComplex()
isComplex in class AegisTypeAegisType.isComplex()public QName getComponentName()
public void setComponentName(QName componentName)
componentName - the QName of the component type of this arraypublic Set<AegisType> getDependencies()
AegisTypegetDependencies in class AegisTypeAegisType 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