javax.xml.rpc.encoding
Interface SerializerFactory

All Superinterfaces:
Serializable

public interface SerializerFactory
extends Serializable

This is a factory of the serializers. A SerializerFactory is registered with a TypeMapping object as part of the TypeMappingRegistry.

Version:
$Revision: 1.3.8.2 $
Author:
Scott.Stark@jboss.org
See Also:
Serializer, TypeMapping, TypeMappingRegistry

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

Method Detail

getSerializerAs

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
Throws:
JAXRPCException - If SerializerFactory does not support the specified XML processing mechanism
IllegalArgumentException - If an invalid mechanism type is specified.

getSupportedMechanismTypes

Iterator getSupportedMechanismTypes()
Returns a list of all XML processing mechanism types supported by this SerializerFactory.

Returns:
List of unique identifiers for the supported XML processing mechanism types


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.