org.jboss.axis.encoding.ser
Class EnumDeserializer

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.SimpleDeserializer (src) 
                  extended byorg.jboss.axis.encoding.ser.EnumDeserializer
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 EnumDeserializer
extends SimpleDeserializer (src)

Deserializer for a JAX-RPC enums.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.axis.encoding.ser.SimpleDeserializer (src)
cacheStringDSer, cacheXMLType, javaType, 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
EnumDeserializer(java.lang.Class javaType, QName (src)  xmlType)
           
 
Method Summary
 java.lang.Object makeValue(java.lang.String source)
          Convert the string that has been accumulated into an Object.
 
Methods inherited from class org.jboss.axis.encoding.ser.SimpleDeserializer (src)
characters, onEndElement, onStartChild, onStartElement, removeValueTargets, reset, setConstructor
 
Methods inherited from class org.jboss.axis.encoding.DeserializerImpl (src)
addChildDeserializer, componentsReady, endElement, getDefaultType, getMechanismType, getValue, getValue, getValueTargets, moveValueTargets, registerValueTarget, 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
 

Constructor Detail

EnumDeserializer

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

makeValue

public java.lang.Object makeValue(java.lang.String source)
                           throws java.lang.Exception
Description copied from class: SimpleDeserializer (src)
Convert the string that has been accumulated into an Object. Subclasses may override this. Note that if the javaType is a primitive, the returned object is a wrapper class.

Overrides:
makeValue in class SimpleDeserializer (src)
Parameters:
source - the serialized value to be deserialized
Throws:
java.lang.Exception - any exception thrown by this method will be wrapped