public class VectorDeserializer extends DeserializerImpl
Modifier and Type | Field and Description |
---|---|
int |
curIndex |
protected static org.apache.commons.logging.Log |
log |
componentsReadyFlag, defaultType, id, isEnded, isHref, isNil, targets, value
myElement
Constructor and Description |
---|
VectorDeserializer() |
Modifier and Type | Method and Description |
---|---|
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 and the value is not nil.)
|
void |
setChildValue(Object value,
Object hint)
The registerValueTarget code above causes this set function to be invoked when
each value is known.
|
addChildDeserializer, componentsReady, endElement, getDefaultType, getMechanismType, getValue, getValue, getValueTargets, moveValueTargets, onEndElement, registerValueTarget, removeValueTargets, setDefaultType, setValue, setValue, startElement, valueComplete
characters, makeNewElement, onEndChild
endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
public void onStartElement(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) throws SAXException
onStartElement
in class DeserializerImpl
namespace
- is the namespace of the elementlocalName
- is the name of the elementprefix
- is the prefix of the elementattributes
- are the attributes on the element...used to get the typecontext
- is the DeserializationContextSAXException
public SOAPHandler onStartChild(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) throws SAXException
onStartChild
in class DeserializerImpl
namespace
- 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.SAXException
public void setChildValue(Object value, Object hint) throws SAXException
setChildValue
in class DeserializerImpl
value
- is the value of an elementhint
- is an Integer containing the indexSAXException
Copyright © The Apache Software Foundation. All Rights Reserved.