站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

SerializerFactory (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

javax.xml.rpc.encoding
Interface SerializerFactory

All Superinterfaces:
Serializable

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
Author:
Rahul Sharma
See Also:
Serializer

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

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

getSupportedMechanismTypes

public 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

JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.