DeserializerFactory (Java EE 5)

Java EE API


javax.xml.rpc.encoding Interface DeserializerFactory

All Superinterfaces:
Serializable

public interface DeserializerFactory
extends Serializable

Implements: java.io.Serializable

javax.xml.rpc.encoding.DeserializerFactory 是 Deserializer 的工厂。DeserializerFactory 向 TypeMapping 实例注册,该过程是 TypeMappingRegistry 的一部分。
英文文档:

The javax.xml.rpc.encoding.DeserializerFactory is a factory of deserializers. A DeserializerFactory is registered with a TypeMapping instance as part of the TypeMappingRegistry.

Version:
1.0
Author:
Rahul Sharma
See Also:
Serializer

Method Summary
 Deserializer
 Iterator
 

Method Detail

public Deserializer getDeserializerAs(String mechanismType)
返回指定 XML 处理机制类型的 Deserializer。
mechanismType XML 处理机制类型 [待确定:有效常量的定义]
ThrowsJAXRPCException: 如果 DeserializerFactory 不支持指定的 XML 处理机制
英文文档:

getDeserializerAs

Deserializer getDeserializerAs(String mechanismType)
Returns a Deserializer for the specified XML processing mechanism type.

Parameters:
mechanismType - XML processing mechanism type [TBD: definition of valid constants]
Throws:
JAXRPCException - If DeserializerFactory does not support the specified XML processing mechanism

public java.util.Iterator<E> getSupportedMechanismTypes()
返回此 DeserializerFactory 支持的所有 XML 处理机制类型所组成的列表。
return 受支持 XML 处理机制类型的唯一标识符列表
英文文档:

getSupportedMechanismTypes

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

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


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!