Package org.apache.axis.encoding.ser
Class BaseDeserializerFactory
java.lang.Object
org.apache.axis.encoding.ser.BaseFactory
org.apache.axis.encoding.ser.BaseDeserializerFactory
- All Implemented Interfaces:
Serializable,DeserializerFactory,DeserializerFactory
- Direct Known Subclasses:
ArrayDeserializerFactory,Base64DeserializerFactory,BeanDeserializerFactory,CalendarDeserializerFactory,CastorDeserializerFactory,CastorEnumTypeDeserializerFactory,DateDeserializerFactory,DocumentDeserializerFactory,ElementDeserializerFactory,EnumDeserializerFactory,HexDeserializerFactory,JAFDataHandlerDeserializerFactory,MapDeserializerFactory,QNameDeserializerFactory,SimpleDeserializerFactory,SimpleListDeserializerFactory,TimeDeserializerFactory,VectorDeserializerFactory,XmlBeanDeserializerFactory
Base class for Axis Deserialization Factory classes for code reuse
- Author:
- Rich Scheuerle invalid input: '<'scheu@us.ibm.com>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Classprotected Constructorprotected Methodprotected Classprotected static org.apache.commons.logging.Logprotected QName -
Constructor Summary
ConstructorsConstructorDescriptionBaseDeserializerFactory(Class deserClass) ConstructorBaseDeserializerFactory(Class deserClass, QName xmlType, Class javaType) -
Method Summary
Modifier and TypeMethodDescriptionstatic DeserializerFactorycreateFactory(Class factory, Class javaType, QName xmlType) Utility method that intospects on a factory class to decide how to create the factory.protected ConstructorReturns the deserClassConstructor.getDeserializerAs(String mechanismType) Returns a Deserializer for the specified XML processing mechanism type.protected DeserializergetGeneralPurpose(String mechanismType) Obtains a deserializer by invoking(javaType, xmlType) on the deserClass. protected MethodReturns the getDeserializer.protected DeserializergetSpecialized(String mechanismType) Obtains a deserializer by invoking getDeserializer method in the javaType class or its Helper class.Returns a list of all XML processing mechanism types supported by this DeserializerFactory.Methods inherited from class org.apache.axis.encoding.ser.BaseFactory
getMethod
-
Field Details
-
log
protected static org.apache.commons.logging.Log log -
deserClass
-
xmlType
-
javaType
-
deserClassConstructor
-
getDeserializer
-
-
Constructor Details
-
BaseDeserializerFactory
Constructor- Parameters:
deserClass- is the class of the Deserializer
-
BaseDeserializerFactory
-
-
Method Details
-
getDeserializerAs
Description copied from interface:DeserializerFactoryReturns a Deserializer for the specified XML processing mechanism type.- Specified by:
getDeserializerAsin interfaceDeserializerFactory- 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
-
getGeneralPurpose
Obtains a deserializer by invoking(javaType, xmlType) on the deserClass. -
getSpecialized
Obtains a deserializer by invoking getDeserializer method in the javaType class or its Helper class. -
getSupportedMechanismTypes
Returns a list of all XML processing mechanism types supported by this DeserializerFactory.- Specified by:
getSupportedMechanismTypesin interfaceDeserializerFactory- Returns:
- List of unique identifiers for the supported XML processing mechanism types
-
createFactory
Utility method that intospects on a factory class to decide how to create the factory. Tries in the following order: public static create(Class javaType, QName xmlType) public(Class javaType, QName xmlType) public () - Parameters:
factory- classjavaType-xmlType-
-
getDeserClassConstructor
Returns the deserClassConstructor.- Returns:
- Constructor
-
getGetDeserializer
Returns the getDeserializer.- Returns:
- Method
-