gov.nih.nci.cagrid.caarray.util
Class CaArrayDeserializer

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.apache.axis.message.SOAPHandler
          extended by org.apache.axis.encoding.DeserializerImpl
              extended by gov.nih.nci.cagrid.encoding.SDKDeserializer
                  extended by gov.nih.nci.cagrid.caarray.util.CaArrayDeserializer
All Implemented Interfaces:
java.io.Serializable, javax.xml.rpc.encoding.Deserializer, org.apache.axis.encoding.Callback, org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class CaArrayDeserializer
extends gov.nih.nci.cagrid.encoding.SDKDeserializer

This is identical to the SDK Serializer but turns off validation. unfortunately, it has to copy the whole deserialize method to do so. Also, the original method produces a DOM from the element prior to unmarshalling it. This is sometimes inefficient, and we use the unmarshal variant that can read directly from a String.

Author:
dkokotov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nih.nci.cagrid.encoding.SDKDeserializer
javaType, xmlType
 
Fields inherited from class org.apache.axis.encoding.DeserializerImpl
componentsReadyFlag, defaultType, id, isEnded, isHref, isNil, log, targets, value
 
Fields inherited from class org.apache.axis.message.SOAPHandler
myElement
 
Constructor Summary
CaArrayDeserializer(java.lang.Class javaType, javax.xml.namespace.QName xmlType)
           
 
Method Summary
 void onEndElement(java.lang.String namespace, java.lang.String localName, org.apache.axis.encoding.DeserializationContext context)
           
 
Methods inherited from class org.apache.axis.encoding.DeserializerImpl
addChildDeserializer, componentsReady, endElement, getDefaultType, getMechanismType, getValue, getValue, getValueTargets, moveValueTargets, onStartChild, onStartElement, registerValueTarget, removeValueTargets, setChildValue, 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
 
Methods inherited from interface org.apache.axis.encoding.Deserializer
componentsReady, endElement, getDefaultType, getValue, getValue, getValueTargets, moveValueTargets, onStartChild, onStartElement, registerValueTarget, removeValueTargets, setChildValue, setDefaultType, setValue, startElement, valueComplete
 
Methods inherited from interface javax.xml.rpc.encoding.Deserializer
getMechanismType
 
Methods inherited from interface org.apache.axis.encoding.Callback
setValue
 

Constructor Detail

CaArrayDeserializer

public CaArrayDeserializer(java.lang.Class javaType,
                           javax.xml.namespace.QName xmlType)
Method Detail

onEndElement

public void onEndElement(java.lang.String namespace,
                         java.lang.String localName,
                         org.apache.axis.encoding.DeserializationContext context)
Overrides:
onEndElement in class gov.nih.nci.cagrid.encoding.SDKDeserializer