|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.axis.encoding.ser.BaseFactory | +--org.apache.axis.encoding.ser.BaseDeserializerFactory
Base class for Axis Deserialization Factory classes for code reuse
Field Summary | |
protected java.lang.Class |
deserClass
|
protected java.lang.reflect.Constructor |
deserClassConstructor
|
protected java.lang.reflect.Method |
getDeserializer
|
protected java.lang.Class |
javaType
|
protected QName |
xmlType
|
Fields inherited from class org.apache.axis.encoding.ser.BaseFactory |
methodCache |
Constructor Summary | |
BaseDeserializerFactory(java.lang.Class deserClass)
Constructor |
|
BaseDeserializerFactory(java.lang.Class deserClass,
QName xmlType,
java.lang.Class javaType)
|
Method Summary | |
static DeserializerFactory |
createFactory(java.lang.Class factory,
java.lang.Class javaType,
QName xmlType)
Utility method that intospects on a factory class to decide how to create the factory. |
protected java.lang.reflect.Constructor |
getDeserClassConstructor()
Returns the deserClassConstructor. |
Deserializer |
getDeserializerAs(java.lang.String mechanismType)
Returns a Deserializer for the specified XML processing mechanism type. |
protected Deserializer |
getGeneralPurpose(java.lang.String mechanismType)
Obtains a deserializer by invoking |
protected java.lang.reflect.Method |
getGetDeserializer()
Returns the getDeserializer. |
protected Deserializer |
getSpecialized(java.lang.String mechanismType)
Obtains a deserializer by invoking getDeserializer method in the javaType class or its Helper class. |
java.util.Iterator |
getSupportedMechanismTypes()
Returns a list of all XML processing mechanism types supported by this DeserializerFactory. |
Methods inherited from class org.apache.axis.encoding.ser.BaseFactory |
getMethod |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.Class deserClass
protected QName xmlType
protected java.lang.Class javaType
protected transient java.lang.reflect.Constructor deserClassConstructor
protected transient java.lang.reflect.Method getDeserializer
Constructor Detail |
public BaseDeserializerFactory(java.lang.Class deserClass)
deserClass
- is the class of the Deserializerpublic BaseDeserializerFactory(java.lang.Class deserClass, QName xmlType, java.lang.Class javaType)
Method Detail |
public Deserializer getDeserializerAs(java.lang.String mechanismType) throws JAXRPCException
DeserializerFactory
getDeserializerAs
in interface DeserializerFactory
mechanismType
- XML processing mechanism type [TBD: definition of valid constants]
JAXRPCException
protected Deserializer getGeneralPurpose(java.lang.String mechanismType)
protected Deserializer getSpecialized(java.lang.String mechanismType)
public java.util.Iterator getSupportedMechanismTypes()
getSupportedMechanismTypes
in interface DeserializerFactory
public static DeserializerFactory createFactory(java.lang.Class factory, java.lang.Class javaType, QName xmlType)
factory
- classjavaType
- xmlType
- protected java.lang.reflect.Constructor getDeserClassConstructor()
protected java.lang.reflect.Method getGetDeserializer()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |