Top Description Methods
javax.xml.rpc.encoding

public Interface SerializerFactory

extends Serializable
Imports
java.util.Iterator, javax.xml.rpc.JAXRPCException

The javax.xml.rpc.encoding.SerializerFactory is a factory of the serializers. A SerializerFactory is registered with a TypeMapping object as part of the TypeMappingRegistry.
Author
Rahul Sharma
Version
1.0
See Also
javax.xml.rpc.encoding.Serializer

Method Summary

Modifier and TypeMethod and Description
public Serializer

Returns:

a Serializer of the required type
getSerializerAs
(String
XML processing mechanism type [TBD: definition of valid constants]
mechanismType
)

Returns a Serializer for the specified XML processing mechanism type.

public Iterator<E>

Returns:

List of unique identifiers for the supported XML processing mechanism types
getSupportedMechanismTypes
()

Returns a list of all XML processing mechanism types supported by this SerializerFactory.

Method Detail

getSerializerAsback to summary
public Serializer getSerializerAs(String mechanismType)

Returns a Serializer for the specified XML processing mechanism type.

Parameters
mechanismType:String

XML processing mechanism type [TBD: definition of valid constants]

Returns:Serializer

a Serializer of the required type

Exceptions
JAXRPCException:
If SerializerFactory does not support the specified XML processing mechanism
IllegalArgumentException:
If an invalid mechanism type is specified.
getSupportedMechanismTypesback to summary
public Iterator<E> getSupportedMechanismTypes()

Returns a list of all XML processing mechanism types supported by this SerializerFactory.

Returns:Iterator<E>

List of unique identifiers for the supported XML processing mechanism types