站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档

SimpleDeserializerFactory (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档


org.apache.axis.encoding.ser
Class SimpleDeserializerFactory

java.lang.Object
  extended byorg.apache.axis.encoding.ser.BaseFactory
      extended byorg.apache.axis.encoding.ser.BaseDeserializerFactory
          extended byorg.apache.axis.encoding.ser.SimpleDeserializerFactory
All Implemented Interfaces:
javax.xml.rpc.encoding.DeserializerFactory, DeserializerFactory, Serializable

public class SimpleDeserializerFactory
extends BaseDeserializerFactory

A deserializer for any simple type with a (String) constructor. Note: this class is designed so that subclasses need only override the makeValue method in order to construct objects of their own type.

Author:
Glen Daniels (gdaniels@macromedia.com), Sam Ruby (rubys@us.ibm.com) Modified for JAX-RPC @author Rich Scheuerle (scheu@us.ibm.com)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.encoding.ser.BaseDeserializerFactory
deserClass, deserClassConstructor, getDeserializer, javaType, xmlType
 
Constructor Summary
SimpleDeserializerFactory(Class javaType, javax.xml.namespace.QName xmlType)
          Note that the factory is constructed with the QName and xmlType.
 
Method Summary
 javax.xml.rpc.encoding.Deserializer getDeserializerAs(String mechanismType)
          Get the Deserializer and the set the Constructor so the deserializer does not have to do introspection.
 
Methods inherited from class org.apache.axis.encoding.ser.BaseDeserializerFactory
createFactory, getDeserClassConstructor, getGeneralPurpose, getGetDeserializer, getSpecialized, getSupportedMechanismTypes
 
Methods inherited from class org.apache.axis.encoding.ser.BaseFactory
getMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDeserializerFactory

public SimpleDeserializerFactory(Class javaType,
                                 javax.xml.namespace.QName xmlType)
Note that the factory is constructed with the QName and xmlType. This is important to allow distinction between primitive values and java.lang wrappers.

Method Detail

getDeserializerAs

public javax.xml.rpc.encoding.Deserializer getDeserializerAs(String mechanismType)
                                                      throws javax.xml.rpc.JAXRPCException
Get the Deserializer and the set the Constructor so the deserializer does not have to do introspection.

Specified by:
getDeserializerAs in interface javax.xml.rpc.encoding.DeserializerFactory
Overrides:
getDeserializerAs in class BaseDeserializerFactory
Throws:
javax.xml.rpc.JAXRPCException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.