站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档

EnumDeserializer (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档


org.apache.axis.encoding.ser
Class EnumDeserializer

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.SimpleDeserializer
                  extended byorg.apache.axis.encoding.ser.EnumDeserializer
All Implemented Interfaces:
Callback, ContentHandler, javax.xml.rpc.encoding.Deserializer, Deserializer, DTDHandler, EntityResolver, ErrorHandler, Serializable

public class EnumDeserializer
extends SimpleDeserializer

Deserializer for a JAX-RPC enum.

Author:
Rich Scheuerle , Sam Ruby
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.encoding.ser.SimpleDeserializer
cacheStringDSer, cacheXMLType, javaType, xmlType
 
Fields inherited from class org.apache.axis.encoding.DeserializerImpl
defaultType, id, isEnded, isHref, isNil, targets, value
 
Fields inherited from class org.apache.axis.message.SOAPHandler
myElement
 
Constructor Summary
EnumDeserializer(Class javaType, javax.xml.namespace.QName xmlType)
           
 
Method Summary
 Object makeValue(String source)
          Convert the string that has been accumulated into an Object.
 
Methods inherited from class org.apache.axis.encoding.ser.SimpleDeserializer
characters, onEndElement, onStartChild, onStartElement, removeValueTargets, reset, setConstructor
 
Methods inherited from class org.apache.axis.encoding.DeserializerImpl
addChildDeserializer, componentsReady, endElement, getDefaultType, getMechanismType, getValue, getValue, getValueTargets, moveValueTargets, registerValueTarget, 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(Class javaType,
                        javax.xml.namespace.QName xmlType)
Method Detail

makeValue

public Object makeValue(String source)
                 throws Exception
Description copied from class: SimpleDeserializer
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
Parameters:
source - the serialized value to be deserialized
Throws:
Exception - any exception thrown by this method will be wrapped


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.