org.jboss.axis.encoding.ser
Class SimpleDeserializerFactory

java.lang.Object
  extended byorg.jboss.axis.encoding.ser.BaseFactory (src) 
      extended byorg.jboss.axis.encoding.ser.BaseDeserializerFactory (src) 
          extended byorg.jboss.axis.encoding.ser.SimpleDeserializerFactory
All Implemented Interfaces:
DeserializerFactory (src) , DeserializerFactory (src) , java.io.Serializable

public class SimpleDeserializerFactory
extends BaseDeserializerFactory (src)

A deserializer for any simple type with a (String) constructor. Note: this class is designed so that subclasses need only override the makeValue method in order to construct objects of their own type.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.axis.encoding.ser.BaseDeserializerFactory (src)
deserClass, deserClassConstructor, getDeserializer, javaType, xmlType
 
Constructor Summary
SimpleDeserializerFactory(java.lang.Class javaType, QName (src)  xmlType)
          Note that the factory is constructed with the QName and xmlType.
 
Method Summary
 Deserializer (src) getDeserializerAs(java.lang.String mechanismType)
          Get the Deserializer and the set the Constructor so the deserializer does not have to do introspection.
 
Methods inherited from class org.jboss.axis.encoding.ser.BaseDeserializerFactory (src)
createFactory, getDeserClassConstructor, getGeneralPurpose, getGetDeserializer, getSpecialized, getSupportedMechanismTypes
 
Methods inherited from class org.jboss.axis.encoding.ser.BaseFactory (src)
getMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDeserializerFactory

public SimpleDeserializerFactory(java.lang.Class javaType,
                                 QName (src)  xmlType)
Note that the factory is constructed with the QName and xmlType. This is important to allow distinction between primitive values and java.lang wrappers.

Method Detail

getDeserializerAs

public Deserializer (src)  getDeserializerAs(java.lang.String mechanismType)
                               throws JAXRPCException (src) 
Get the Deserializer and the set the Constructor so the deserializer does not have to do introspection.

Specified by:
getDeserializerAs in interface DeserializerFactory (src)
Overrides:
getDeserializerAs in class BaseDeserializerFactory (src)
Throws:
JAXRPCException (src)