Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.axis.encoding.ser
Class BeanSerializerFactory  view BeanSerializerFactory download BeanSerializerFactory.java

java.lang.Object
  extended byorg.apache.axis.encoding.ser.BaseFactory
      extended byorg.apache.axis.encoding.ser.BaseSerializerFactory
          extended byorg.apache.axis.encoding.ser.BeanSerializerFactory
All Implemented Interfaces:
java.io.Serializable, org.apache.axis.encoding.SerializerFactory, javax.xml.rpc.encoding.SerializerFactory

public class BeanSerializerFactory
extends BaseSerializerFactory

SerializerFactory for Bean


Field Summary
protected  org.apache.axis.utils.BeanPropertyDescriptor[] propertyDescriptor
           
protected  org.apache.axis.description.TypeDesc typeDesc
           
 
Fields inherited from class org.apache.axis.encoding.ser.BaseSerializerFactory
getSerializer, javaType, log, mechanisms, ser, serClass, serClassConstructor, xmlType
 
Fields inherited from class org.apache.axis.encoding.ser.BaseFactory
 
Constructor Summary
BeanSerializerFactory(java.lang.Class javaType, javax.xml.namespace.QName xmlType)
           
 
Method Summary
protected  org.apache.axis.encoding.Serializer getGeneralPurpose(java.lang.String mechanismType)
          Optimize construction of a BeanSerializer by caching the type and property descriptors.
 javax.xml.rpc.encoding.Serializer getSerializerAs(java.lang.String mechanismType)
          Returns a Serializer for the specified XML processing mechanism type.
private  void init(java.lang.Class javaType)
           
private  void readObject(java.io.ObjectInputStream in)
           
 
Methods inherited from class org.apache.axis.encoding.ser.BaseSerializerFactory
createFactory, getGetSerializer, getJavaType, getSerClassConstructor, getSerializerAsInternal, getSpecialized, getSupportedMechanismTypes, getXMLType
 
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
 

Field Detail

typeDesc

protected transient org.apache.axis.description.TypeDesc typeDesc

propertyDescriptor

protected transient org.apache.axis.utils.BeanPropertyDescriptor[] propertyDescriptor
Constructor Detail

BeanSerializerFactory

public BeanSerializerFactory(java.lang.Class javaType,
                             javax.xml.namespace.QName xmlType)
Method Detail

init

private void init(java.lang.Class javaType)

getSerializerAs

public javax.xml.rpc.encoding.Serializer getSerializerAs(java.lang.String mechanismType)
                                                  throws javax.xml.rpc.JAXRPCException
Description copied from interface: javax.xml.rpc.encoding.SerializerFactory
Returns a Serializer for the specified XML processing mechanism type.

Specified by:
getSerializerAs in interface javax.xml.rpc.encoding.SerializerFactory
Overrides:
getSerializerAs in class BaseSerializerFactory

getGeneralPurpose

protected org.apache.axis.encoding.Serializer getGeneralPurpose(java.lang.String mechanismType)
Optimize construction of a BeanSerializer by caching the type and property descriptors.

Overrides:
getGeneralPurpose in class BaseSerializerFactory

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException