org.apache.axis.encoding.ser
Class VectorDeserializer
- Deserializer, java.io.Serializable, Callback, Deserializer, Deserializer
public class VectorDeserializer
Deserializer for SOAP Vectors for compatibility with SOAP 2.2.
- Carsten Ziegeler (cziegeler@apache.org)
Modified by @author Rich scheuerle
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.
|
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 , onStartChild , onStartElement , registerValueTarget , removeValueTargets , setChildValue , setDefaultType , setValue , setValue , startElement , valueComplete |
curIndex
public int curIndex
log
protected static Log log
onStartChild
public SOAPHandler onStartChild(String namespace,
String localName,
String prefix,
Attributes attributes,
DeserializationContext context)
throws SAXException
onStartChild is called on each child element.
- onStartChild in interface Deserializer
- onStartChild in interface 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.
- is a Deserializer to use to deserialize a child (must be
a derived class of SOAPHandler) or null if no deserialization should
be performed.
onStartElement
public void onStartElement(String namespace,
String localName,
String prefix,
Attributes attributes,
DeserializationContext context)
throws 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
- onStartElement in interface Deserializer
- onStartElement in interface 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 DeserializationContext
setChildValue
public void setChildValue(Object value,
Object hint)
throws SAXException
The registerValueTarget code above causes this set function to be invoked when
each value is known.
- setChildValue in interface Deserializer
- setChildValue in interface DeserializerImpl
value
- is the value of an elementhint
- is an Integer containing the index
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.