Package org.apache.axis.encoding.ser
Class SimpleSerializerFactory
java.lang.Object
org.apache.axis.encoding.ser.BaseFactory
org.apache.axis.encoding.ser.BaseSerializerFactory
org.apache.axis.encoding.ser.SimpleSerializerFactory
- All Implemented Interfaces:
Serializable,SerializerFactory,SerializerFactory
- See Also:
-
Field Summary
Fields inherited from class org.apache.axis.encoding.ser.BaseSerializerFactory
getSerializer, javaType, log, ser, serClass, serClassConstructor, xmlType -
Constructor Summary
ConstructorsConstructorDescriptionSimpleSerializerFactory(Class javaType, QName xmlType) Note that the factory is constructed with the QName and xmlType. -
Method Summary
Modifier and TypeMethodDescriptiongetSerializerAs(String mechanismType) Returns a Serializer for the specified XML processing mechanism type.Methods inherited from class org.apache.axis.encoding.ser.BaseSerializerFactory
createFactory, getGeneralPurpose, getGetSerializer, getJavaType, getSerClassConstructor, getSerializerAsInternal, getSpecialized, getSupportedMechanismTypes, getXMLTypeMethods inherited from class org.apache.axis.encoding.ser.BaseFactory
getMethod
-
Constructor Details
-
SimpleSerializerFactory
Note that the factory is constructed with the QName and xmlType. This is important to allow distinction between primitive values and java.lang wrappers.
-
-
Method Details
-
getSerializerAs
Description copied from interface:SerializerFactoryReturns a Serializer for the specified XML processing mechanism type.- Specified by:
getSerializerAsin interfaceSerializerFactory- Overrides:
getSerializerAsin classBaseSerializerFactory- Parameters:
mechanismType- - XML processing mechanism type [TBD: definition of valid constants]- Returns:
- a
Serializerfor the specified XML processing mechanism type - Throws:
JAXRPCException- ifSerializerFactorydoes not support the specified XML processing mechanism
-