org.apache.axis.encoding.ser
public abstract class BaseDeserializerFactory extends BaseFactory implements DeserializerFactory
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class |
deserClass |
protected java.lang.reflect.Constructor |
deserClassConstructor |
protected java.lang.reflect.Method |
getDeserializer |
protected java.lang.Class |
javaType |
protected static org.apache.commons.logging.Log |
log |
protected QName |
xmlType |
Constructor and Description |
---|
BaseDeserializerFactory(java.lang.Class deserClass)
Constructor
|
BaseDeserializerFactory(java.lang.Class deserClass,
QName xmlType,
java.lang.Class javaType) |
Modifier and Type | Method and Description |
---|---|
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.
|
getMethod
protected static org.apache.commons.logging.Log log
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
public BaseDeserializerFactory(java.lang.Class deserClass)
deserClass
- is the class of the Deserializerpublic BaseDeserializerFactory(java.lang.Class deserClass, QName xmlType, java.lang.Class javaType)
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
- if DeserializerFactory does not
support the specified XML processing mechanismprotected 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()
Copyright ? 2005 Apache Web Services Project. All Rights Reserved.