com.gridsystems.innergrid.serializers
Class EnumDeserializer

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 org.apache.axis.encoding.ser.SimpleDeserializer
                  extended by com.gridsystems.innergrid.serializers.EnumDeserializer
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 EnumDeserializer
extends org.apache.axis.encoding.ser.SimpleDeserializer

Java 5 Enumeration Deserializer.

Author:
Rodrigo Ruiz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.encoding.ser.SimpleDeserializer
cacheStringDSer, cacheXMLType, context, javaType, STRING_CLASS, 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
EnumDeserializer(java.lang.Class<?> javaType, javax.xml.namespace.QName xmlType)
          Creates a new instance.
 
Method Summary
 java.lang.Object makeValue(java.lang.String source)
          
 
Methods inherited from class org.apache.axis.encoding.ser.SimpleDeserializer
characters, onEndElement, onStartChild, onStartElement, reset, setConstructor
 
Methods inherited from class org.apache.axis.encoding.DeserializerImpl
addChildDeserializer, componentsReady, endElement, getDefaultType, getMechanismType, getValue, getValue, getValueTargets, moveValueTargets, registerValueTarget, removeValueTargets, setChildValue, setDefaultType, setValue, setValue, startElement, valueComplete
 
Methods inherited from class org.apache.axis.message.SOAPHandler
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,
                        javax.xml.namespace.QName xmlType)
Creates a new instance.

Parameters:
javaType - Java type
xmlType - XML type
Method Detail

makeValue

public java.lang.Object makeValue(java.lang.String source)
                           throws java.lang.Exception

Overrides:
makeValue in class org.apache.axis.encoding.ser.SimpleDeserializer
Throws:
java.lang.Exception


Copyright © 2007-2008 Grid Systems, S.A.. All Rights Reserved.