org.apache.axis.encoding.ser
Class SimpleSerializerFactory
- java.io.Serializable, SerializerFactory, SerializerFactory
public class SimpleSerializerFactory
- Glen Daniels (gdaniels@apache.org)
SimpleSerializerFactory
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.
getSerializerAs
public Serializer getSerializerAs(String mechanismType)
throws JAXRPCException
Returns a Serializer for the specified XML processing mechanism type.
- getSerializerAs in interface SerializerFactory
- getSerializerAs in interface BaseSerializerFactory
mechanismType
- - XML processing mechanism type [TBD: definition
of valid constants]
- a
Serializer
for the specified XML processing
mechanism type
JAXRPCException
- if SerializerFactory
does not support the
specified XML processing mechanism
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.