站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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

Method Summary
 DeserializerFactory getDeserializer(Class javaType, javax.xml.namespace.QName xmlType)
           
 SerializerFactory getSerializer(Class javaType, javax.xml.namespace.QName xmlType)
           
 String[] getSupportedEncodings()
           
 boolean isRegistered(Class javaType, javax.xml.namespace.QName xmlType)
           
 void register(Class javaType, javax.xml.namespace.QName xmlType, SerializerFactory sf, DeserializerFactory dsf)
           
 void removeDeserializer(Class javaType, javax.xml.namespace.QName xmlType)
           
 void removeSerializer(Class javaType, javax.xml.namespace.QName xmlType)
           
 void setSupportedEncodings(String[] encodingStyleURIs)
           
 

Method Detail

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.