Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.axis.encoding.ser.BaseFactory
org.apache.axis.encoding.ser.BaseSerializerFactory
org.apache.axis.encoding.ser.SimpleSerializerFactory
public class SimpleSerializerFactory
extends BaseSerializerFactory
Field Summary |
Fields inherited from class org.apache.axis.encoding.ser.BaseSerializerFactory | |
getSerializer , javaType , log , ser , serClass , serClassConstructor , xmlType |
Constructor Summary | |
|
Method Summary | |
Serializer |
|
Methods inherited from class org.apache.axis.encoding.ser.BaseSerializerFactory | |
createFactory , getGeneralPurpose , getGetSerializer , getJavaType , getSerClassConstructor , getSerializerAs , getSerializerAsInternal , getSpecialized , getSupportedMechanismTypes , getXMLType |
Methods inherited from class org.apache.axis.encoding.ser.BaseFactory | |
getMethod |
public SimpleSerializerFactory(Class javaType, QName xmlType)
Note that the factory is constructed with the QName and xmlType. This is important to allow distinction between primitive values and java.lang wrappers.
public Serializer getSerializerAs(String mechanismType) throws JAXRPCException
Returns a Serializer for the specified XML processing mechanism type.
- Specified by:
- getSerializerAs in interface SerializerFactory
- Overrides:
- getSerializerAs in interface BaseSerializerFactory
- Parameters:
mechanismType
- - XML processing mechanism type [TBD: definition of valid constants]
- Returns:
- a
Serializer
for the specified XML processing mechanism type
- Throws:
JAXRPCException
- ifSerializerFactory
does not support the specified XML processing mechanism