java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.axis.message.SOAPHandler
org.apache.axis.encoding.DeserializerImpl
org.apache.axis.encoding.ser.MapDeserializer
- All Implemented Interfaces:
- org.apache.axis.encoding.Callback, org.xml.sax.ContentHandler, org.apache.axis.encoding.Deserializer, javax.xml.rpc.encoding.Deserializer, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, java.io.Serializable
- public class MapDeserializer
- extends org.apache.axis.encoding.DeserializerImpl
| Methods inherited from class org.apache.axis.encoding.DeserializerImpl |
addChildDeserializer, componentsReady, endElement, getDefaultType, getMechanismType, getValue, getValue, getValueTargets, moveValueTargets, onEndElement, registerValueTarget, removeValueTargets, setDefaultType, setValue, setValue, startElement, valueComplete |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
KEYHINT
public static final java.lang.Object KEYHINT
VALHINT
public static final java.lang.Object VALHINT
NILHINT
public static final java.lang.Object NILHINT
MapDeserializer
public MapDeserializer()
onStartElement
public void onStartElement(java.lang.String namespace,
java.lang.String localName,
java.lang.String prefix,
org.xml.sax.Attributes attributes,
org.apache.axis.encoding.DeserializationContext context)
throws org.xml.sax.SAXException
- 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.)
Simply creates map.
onStartChild
public org.apache.axis.message.SOAPHandler onStartChild(java.lang.String namespace,
java.lang.String localName,
java.lang.String prefix,
org.xml.sax.Attributes attributes,
org.apache.axis.encoding.DeserializationContext context)
throws org.xml.sax.SAXException
- onStartChild is called on each child element.
setChildValue
public void setChildValue(java.lang.Object value,
java.lang.Object hint)
throws org.xml.sax.SAXException
- The registerValueTarget code above causes this set function to be invoked when
each value is known.