当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档
TypeMapping (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档
javax.xml.rpc.encoding
Interface TypeMapping
- public interface TypeMapping
This is the base interface for the representation of a type mapping. A
TypeMapping implementation class may support one or more encoding styles.
For its supported encoding styles, a TypeMapping instance maintains a set of
tuples of the type {Java Class, SerializerFactory, DeserializerFactory,
XML type-QName}.
- Version:
- $Revision: 1.2 $
- Author:
- Scott.Stark@jboss.org
getDeserializer
public DeserializerFactory getDeserializer(Class javaType,
javax.xml.namespace.QName xmlType)
getSerializer
public SerializerFactory getSerializer(Class javaType,
javax.xml.namespace.QName xmlType)
getSupportedEncodings
public String[] getSupportedEncodings()
setSupportedEncodings
public void setSupportedEncodings(String[] encodingStyleURIs)
isRegistered
public boolean isRegistered(Class javaType,
javax.xml.namespace.QName xmlType)
register
public void register(Class javaType,
javax.xml.namespace.QName xmlType,
SerializerFactory sf,
DeserializerFactory dsf)
removeDeserializer
public void removeDeserializer(Class javaType,
javax.xml.namespace.QName xmlType)
removeSerializer
public void removeSerializer(Class javaType,
javax.xml.namespace.QName xmlType)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.