org.apache.axis.encoding.ser

Class BeanSerializerFactory

Implemented Interfaces:
java.io.Serializable, SerializerFactory, SerializerFactory

public class BeanSerializerFactory
extends BaseSerializerFactory

SerializerFactory for Bean
Author:
Rich Scheuerle

Field Summary

protected BeanPropertyDescriptor[]
propertyDescriptor
protected TypeDesc
typeDesc

Fields inherited from class org.apache.axis.encoding.ser.BaseSerializerFactory

getSerializer, javaType, log, ser, serClass, serClassConstructor, xmlType

Constructor Summary

BeanSerializerFactory(Class javaType, QName xmlType)

Method Summary

protected Serializer
getGeneralPurpose(String mechanismType)
Optimize construction of a BeanSerializer by caching the type and property descriptors.
Serializer
getSerializerAs(String mechanismType)

Methods inherited from class org.apache.axis.encoding.ser.BaseSerializerFactory

createFactory, getGeneralPurpose, getGetSerializer, getJavaType, getSerClassConstructor, getSerializerAs, getSerializerAsInternal, getSpecialized, getSupportedMechanismTypes, getXMLType

Methods inherited from class org.apache.axis.encoding.ser.BaseFactory

getMethod

Field Details

propertyDescriptor

protected BeanPropertyDescriptor[] propertyDescriptor

typeDesc

protected TypeDesc typeDesc

Constructor Details

BeanSerializerFactory

public BeanSerializerFactory(Class javaType,
                             QName xmlType)

Method Details

getGeneralPurpose

protected Serializer getGeneralPurpose(String mechanismType)
Optimize construction of a BeanSerializer by caching the type and property descriptors.
Overrides:
getGeneralPurpose in interface BaseSerializerFactory

getSerializerAs

public Serializer getSerializerAs(String mechanismType)
            throws JAXRPCException
Specified by:
getSerializerAs in interface SerializerFactory
Overrides:
getSerializerAs in interface BaseSerializerFactory

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.