org.apache.axis.encoding.ser
public class ArrayDeserializer extends DeserializerImpl
Nested Class Summary | |
---|---|
class | ArrayDeserializer.ArrayListExtension
During processing, the Array Deserializer stores the array in
an ArrayListExtension class. |
Field Summary | |
---|---|
QName | arrayType |
int | curIndex |
protected static Log | log |
Method Summary | |
---|---|
void | characters(char[] chars, int i, int i1) |
void | onEndChild(String namespace, String localName, DeserializationContext context) |
SOAPHandler | onStartChild(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context)
onStartChild is called on each child element. |
void | onStartElement(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context)
This method is invoked after startElement when the element requires
deserialization (i.e. the element is not an href & the value is not nil)
DeserializerImpl provides default behavior, which simply
involves obtaining a correct Deserializer and plugging its handler. |
void | setChildValue(Object value, Object hint)
set is called during deserialization to assign
the Object value to the array position indicated by hint.
|
void | valueComplete()
When valueComplete() is invoked on the array,
first convert the array value into the expected array.
|
Parameters: namespace is the namespace of the child element localName is the local name of the child element prefix is the prefix used on the name of the child element attributes are the attributes of the child element context is the deserialization context.
Returns: is a Deserializer to use to deserialize a child (must be a derived class of SOAPHandler) or null if no deserialization should be performed.
Parameters: namespace is the namespace of the element localName is the name of the element prefix is the prefix of the element attributes are the attrs on the element...used to get the type context is the DeserializationContext
Parameters: value value of the array element hint index of the array element (Integer)