javax.xml.rpc.encoding

Interface SerializerFactory

public interface SerializerFactory extends 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.

Version: 1.0

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

Method Detail

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

Throws: javax.xml.rpc.JAXRPCException if SerializerFactory does not support the specified XML processing mechanism java.lang.IllegalArgumentException if an invalid mechanism type is specified

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?)

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.