org.jboss.axis.encoding.ser
Class Base64Deserializer

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byorg.jboss.axis.message.SOAPHandler (src) 
          extended byorg.jboss.axis.encoding.DeserializerImpl (src) 
              extended byorg.jboss.axis.encoding.ser.Base64Deserializer
All Implemented Interfaces:
Callback (src) , org.xml.sax.ContentHandler, Deserializer (src) , Deserializer (src) , org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, java.io.Serializable

public class Base64Deserializer
extends DeserializerImpl (src)

Deserializer for Base64

See Also:
XML Schema 3.2.16, Serialized Form

Field Summary
 java.lang.Class javaType
           
 QName (src) xmlType
           
 
Fields inherited from class org.jboss.axis.encoding.DeserializerImpl (src)
defaultType, id, isEnded, isHref, isNil, targets, value
 
Fields inherited from class org.jboss.axis.message.SOAPHandler (src)
myElement
 
Constructor Summary
Base64Deserializer(java.lang.Class javaType, QName (src)  xmlType)
           
 
Method Summary
 void characters(char[] chars, int start, int end)
          Handle any characters found in the data
 void onEndElement(java.lang.String namespace, java.lang.String localName, DeserializationContext (src)  context)
          Return something even if no characters were found.
 void onStartElement(java.lang.String namespace, java.lang.String localName, java.lang.String prefix, org.xml.sax.Attributes attributes, DeserializationContext (src)  context)
          This method is invoked after startElement when the element requires deserialization (i.e.
 
Methods inherited from class org.jboss.axis.encoding.DeserializerImpl (src)
addChildDeserializer, componentsReady, endElement, getDefaultType, getMechanismType, getValue, getValue, getValueTargets, moveValueTargets, onStartChild, registerValueTarget, removeValueTargets, setChildValue, setDefaultType, setValue, setValue, startElement, valueComplete
 
Methods inherited from class org.jboss.axis.message.SOAPHandler (src)
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

xmlType

public QName (src)  xmlType

javaType

public java.lang.Class javaType
Constructor Detail

Base64Deserializer

public Base64Deserializer(java.lang.Class javaType,
                          QName (src)  xmlType)
Method Detail

characters

public void characters(char[] chars,
                       int start,
                       int end)
                throws org.xml.sax.SAXException
Handle any characters found in the data

Throws:
org.xml.sax.SAXException

onStartElement

public void onStartElement(java.lang.String namespace,
                           java.lang.String localName,
                           java.lang.String prefix,
                           org.xml.sax.Attributes attributes,
                           DeserializationContext (src)  context)
                    throws org.xml.sax.SAXException
Description copied from class: DeserializerImpl (src)
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.) DeserializerImpl provides default behavior, which simply involves obtaining a correct Deserializer and plugging its handler.

Specified by:
onStartElement in interface Deserializer (src)
Overrides:
onStartElement in class DeserializerImpl (src)
Parameters:
namespace - is the namespace of the element
localName - is the name of the element
prefix - is the prefix of the element
attributes - are the attributes on the element...used to get the type
context - is the DeserializationContext
Throws:
org.xml.sax.SAXException

onEndElement

public void onEndElement(java.lang.String namespace,
                         java.lang.String localName,
                         DeserializationContext (src)  context)
                  throws org.xml.sax.SAXException
Return something even if no characters were found.

Specified by:
onEndElement in interface Deserializer (src)
Overrides:
onEndElement in class DeserializerImpl (src)
Parameters:
namespace - is the namespace of the child element
localName - is the local name of the child element
context - is the deserialization context
Throws:
org.xml.sax.SAXException