org.apache.axis.encoding.ser
Class SimpleDeserializerFactory
java.lang.Object
org.apache.axis.encoding.ser.BaseFactory
org.apache.axis.encoding.ser.BaseDeserializerFactory
org.apache.axis.encoding.ser.SimpleDeserializerFactory
- All Implemented Interfaces:
- Serializable, DeserializerFactory
public class SimpleDeserializerFactory
- extends BaseDeserializerFactory
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.
- Author:
- Glen Daniels (gdaniels@apache.org), Sam Ruby (rubys@us.ibm.com)
Modified for JAX-RPC @author Rich Scheuerle (scheu@us.ibm.com)
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleDeserializerFactory
public SimpleDeserializerFactory(Class javaType,
QName 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.
getDeserializerAs
public Deserializer getDeserializerAs(String mechanismType)
throws JAXRPCException
- Get the Deserializer and the set the Constructor so the
deserializer does not have to do introspection.
- Specified by:
getDeserializerAs in interface DeserializerFactory- Overrides:
getDeserializerAs in class BaseDeserializerFactory
- Parameters:
mechanismType - XML processing mechanism type [TBD: definition of
valid constants]
- Returns:
- a Deserializer for the specified XML processing mechanism type
- Throws:
JAXRPCException - if DeserializerFactory does not
support the specified XML processing mechanism
Copyright © The Apache Software Foundation. All Rights Reserved.