public class MapDeserializer extends DeserializerImpl
| Modifier and Type | Field and Description |
|---|---|
static Object |
KEYHINT |
protected static org.apache.commons.logging.Log |
log |
static Object |
NILHINT |
static Object |
VALHINT |
componentsReadyFlag, defaultType, id, isEnded, isHref, isNil, targets, valuemyElement| Constructor and Description |
|---|
MapDeserializer() |
| 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, valueCompletecharacters, makeNewElement, onEndChildendDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningprotected static org.apache.commons.logging.Log log
public static final Object KEYHINT
public static final Object VALHINT
public static final Object NILHINT
public void onStartElement(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) throws 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 attributes on the element...used to get the typecontext - is the DeserializationContextSAXExceptionpublic SOAPHandler onStartChild(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) throws 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.SAXExceptionpublic void setChildValue(Object value, Object hint) throws SAXException
setChildValue in class DeserializerImplvalue - is the value of an elementhint - is the keySAXExceptionCopyright © The Apache Software Foundation. All Rights Reserved.