SerializerFactory (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.rpc.encoding Interface SerializerFactory

所有父接口:
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.

版本:
1.0
作者:
Rahul Sharma
另请参见:
Serializer

方法摘要
 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.
 

方法详细信息

getSerializerAs

Serializer getSerializerAs(String mechanismType)
Returns a Serializer for the specified XML processing mechanism type.

参数:
mechanismType - XML processing mechanism type [TBD: definition of valid constants]
抛出异常:
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.

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

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.