Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.axis.encoding.ser
Class VectorDeserializer  view VectorDeserializer download VectorDeserializer.java

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byorg.apache.axis.message.SOAPHandler
          extended byorg.apache.axis.encoding.DeserializerImpl
              extended byorg.apache.axis.encoding.ser.VectorDeserializer
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 VectorDeserializer
extends org.apache.axis.encoding.DeserializerImpl

Deserializer for SOAP Vectors for compatibility with SOAP 2.2.


Field Summary
 int curIndex
           
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.axis.encoding.DeserializerImpl
componentsReadyFlag, defaultType, id, isEnded, isHref, isNil, targets, value
 
Fields inherited from class org.apache.axis.message.SOAPHandler
myElement
 
Constructor Summary
VectorDeserializer()
           
 
Method Summary
 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)
          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, org.apache.axis.encoding.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)
          The registerValueTarget code above causes this set function to be invoked when each value is known.
 
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.apache.axis.message.SOAPHandler
characters, makeNewElement, onEndChild
 
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
 

Field Detail

log

protected static org.apache.commons.logging.Log log

curIndex

public int curIndex
Constructor Detail

VectorDeserializer

public VectorDeserializer()
Method Detail

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


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.