public abstract class BaseDeserializerFactory extends BaseFactory implements DeserializerFactory
Modifier and Type | Field and Description |
---|---|
protected Class |
deserClass |
protected Constructor |
deserClassConstructor |
protected Method |
getDeserializer |
protected Class |
javaType |
protected static org.apache.commons.logging.Log |
log |
protected QName |
xmlType |
Constructor and Description |
---|
BaseDeserializerFactory(Class deserClass)
Constructor
|
BaseDeserializerFactory(Class deserClass,
QName xmlType,
Class javaType) |
Modifier and Type | Method and Description |
---|---|
static DeserializerFactory |
createFactory(Class factory,
Class javaType,
QName xmlType)
Utility method that intospects on a factory class to decide how to
create the factory.
|
protected Constructor |
getDeserClassConstructor()
Returns the deserClassConstructor.
|
Deserializer |
getDeserializerAs(String mechanismType)
Returns a Deserializer for the specified XML processing mechanism type.
|
protected Deserializer |
getGeneralPurpose(String mechanismType)
Obtains a deserializer by invoking
|
protected Method |
getGetDeserializer()
Returns the getDeserializer.
|
protected Deserializer |
getSpecialized(String mechanismType)
Obtains a deserializer by invoking getDeserializer method in the
javaType class or its Helper class.
|
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 Class deserClass
protected QName xmlType
protected Class javaType
protected transient Constructor deserClassConstructor
protected transient Method getDeserializer
public BaseDeserializerFactory(Class deserClass)
deserClass
- is the class of the Deserializerpublic Deserializer getDeserializerAs(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(String mechanismType)
protected Deserializer getSpecialized(String mechanismType)
public Iterator getSupportedMechanismTypes()
getSupportedMechanismTypes
in interface DeserializerFactory
public static DeserializerFactory createFactory(Class factory, Class javaType, QName xmlType)
factory
- classjavaType
- xmlType
- protected Constructor getDeserClassConstructor()
protected Method getGetDeserializer()
Copyright © The Apache Software Foundation. All Rights Reserved.