java.lang.Object
org.apache.axis.encoding.ser.BaseFactory
org.apache.axis.encoding.ser.BaseDeserializerFactory
org.apache.axis.encoding.ser.SimpleDeserializerFactory
- All Implemented Interfaces:
- javax.xml.rpc.encoding.DeserializerFactory, org.apache.axis.encoding.DeserializerFactory, java.io.Serializable
- 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.
| Fields inherited from class org.apache.axis.encoding.ser.BaseFactory |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STRING_STRING_CLASS
private static final java.lang.Class[] STRING_STRING_CLASS
STRING_CLASS
private static final java.lang.Class[] STRING_CLASS
constructor
private transient java.lang.reflect.Constructor constructor
isBasicType
private boolean isBasicType
SimpleDeserializerFactory
public SimpleDeserializerFactory(java.lang.Class javaType,
javax.xml.namespace.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.
initConstructor
private void initConstructor(java.lang.Class javaType)
getDeserializerAs
public javax.xml.rpc.encoding.Deserializer getDeserializerAs(java.lang.String mechanismType)
throws javax.xml.rpc.JAXRPCException
- Get the Deserializer and the set the Constructor so the
deserializer does not have to do introspection.
- Specified by:
getDeserializerAs in interface javax.xml.rpc.encoding.DeserializerFactory- Overrides:
getDeserializerAs in class BaseDeserializerFactory
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException