javax.xml.rpc.encoding

Interface SerializerFactory

All Superinterfaces:
java.io.Serializable

public interface SerializerFactory
extends java.io.Serializable

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.

Method Summary

Serializer
getSerializerAs(String mechanismType)
Returns a Serializer for the specified XML processing mechanism type.
Iterator
getSupportedMechanismTypes()
Returns an Iterator over all XML processing mechanism types supported by this SerializerFactory.

Method Details

getSerializerAs

public Serializer getSerializerAs(String mechanismType)
Returns a Serializer for the specified XML processing mechanism type.
Parameters:
mechanismType - - XML processing mechanism type [TBD: definition of valid constants]
Returns:
a Serializer for the specified XML processing mechanism type

getSupportedMechanismTypes

public Iterator getSupportedMechanismTypes()
Returns an Iterator over all XML processing mechanism types supported by this SerializerFactory.
Returns:
an Iterator over the mechanism types (Strings?)