|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.rpc.encoding Interface SerializerFactory
- All Superinterfaces:
- Serializable
public interface SerializerFactory
- extends Serializable
Implements:
java.io.Serializable
javax.xml.rpc.encoding.SerializerFactory 是 Serializer 的工厂。SerializerFactory 向 TypeMapping 对象注册,该过程是 TypeMappingRegistry 的一部分。
version | 1.0 |
See also | javax.xml.rpc.encoding.Serializer |
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 |
---|
public Serializer
getSerializerAs(String mechanismType)
返回指定 XML 处理机制类型的 Serializer。
mechanismType | XML 处理机制类型 [待确定:有效常量的定义] |
Throws | JAXRPCException: 如果 SerializerFactory 不支持指定的 XML 处理机制 |
Throws | IllegalArgumentException: 如果指定了无效的机制类型。 |
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]- Throws:
JAXRPCException
- If SerializerFactory does not support the specified XML processing mechanismIllegalArgumentException
- If an invalid mechanism type is specified.
public java.util.Iterator<E>
getSupportedMechanismTypes()
返回此 SerializerFactory 支持的所有 XML 处理机制类型所组成的列表。
return | 受支持 XML 处理机制类型的唯一标识符列表 |
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!