org.apache.axis.encoding.ser
public class ArrayDeserializer extends DeserializerImpl
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayDeserializer.ArrayListExtension
During processing, the Array Deserializer stores the array in
an ArrayListExtension class.
|
| Modifier and Type | Field and Description |
|---|---|
QName |
arrayType |
int |
curIndex |
protected static org.apache.commons.logging.Log |
log |
componentsReadyFlag, defaultType, id, isEnded, isHref, isNil, targets, valuemyElement| Constructor and Description |
|---|
ArrayDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] chars,
int i,
int i1) |
void |
onEndChild(java.lang.String namespace,
java.lang.String localName,
DeserializationContext context) |
SOAPHandler |
onStartChild(java.lang.String namespace,
java.lang.String localName,
java.lang.String prefix,
org.xml.sax.Attributes attributes,
DeserializationContext context)
onStartChild is called on each child element.
|
void |
onStartElement(java.lang.String namespace,
java.lang.String localName,
java.lang.String prefix,
org.xml.sax.Attributes attributes,
DeserializationContext context)
This method is invoked after startElement when the element requires
deserialization (i.e.
|
void |
setChildValue(java.lang.Object value,
java.lang.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.
|
addChildDeserializer, componentsReady, endElement, getDefaultType, getMechanismType, getValue, getValue, getValueTargets, moveValueTargets, onEndElement, registerValueTarget, removeValueTargets, setDefaultType, setValue, setValue, startElementmakeNewElementendDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningprotected static org.apache.commons.logging.Log log
public QName arrayType
public int curIndex
public void onStartElement(java.lang.String namespace,
java.lang.String localName,
java.lang.String prefix,
org.xml.sax.Attributes attributes,
DeserializationContext context)
throws org.xml.sax.SAXException
onStartElement in class DeserializerImplnamespace - is the namespace of the elementlocalName - is the name of the elementprefix - is the prefix of the elementattributes - are the attrs on the element...used to get the typecontext - is the DeserializationContextorg.xml.sax.SAXExceptionpublic SOAPHandler onStartChild(java.lang.String namespace, java.lang.String localName, java.lang.String prefix, org.xml.sax.Attributes attributes, DeserializationContext context) throws org.xml.sax.SAXException
onStartChild in class DeserializerImplnamespace - is the namespace of the child elementlocalName - is the local name of the child elementprefix - is the prefix used on the name of the child elementattributes - are the attributes of the child elementcontext - is the deserialization context.org.xml.sax.SAXExceptionpublic void onEndChild(java.lang.String namespace,
java.lang.String localName,
DeserializationContext context)
throws org.xml.sax.SAXException
onEndChild in class SOAPHandlerorg.xml.sax.SAXExceptionpublic void characters(char[] chars,
int i,
int i1)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.ContentHandlercharacters in class SOAPHandlerorg.xml.sax.SAXExceptionpublic void setChildValue(java.lang.Object value,
java.lang.Object hint)
throws org.xml.sax.SAXException
setChildValue in class DeserializerImplvalue - value of the array elementhint - index of the array element (Integer)org.xml.sax.SAXExceptionpublic void valueComplete()
throws org.xml.sax.SAXException
valueComplete in class DeserializerImplorg.xml.sax.SAXExceptionCopyright ? 2005 Apache Web Services Project. All Rights Reserved.