Package org.apache.axis.encoding.ser
Class BeanSerializerFactory
- java.lang.Object
-
- org.apache.axis.encoding.ser.BaseFactory
-
- org.apache.axis.encoding.ser.BaseSerializerFactory
-
- org.apache.axis.encoding.ser.BeanSerializerFactory
-
- All Implemented Interfaces:
java.io.Serializable,SerializerFactory,SerializerFactory
public class BeanSerializerFactory extends BaseSerializerFactory
SerializerFactory for Bean- Author:
- Rich Scheuerle
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BeanPropertyDescriptor[]propertyDescriptorprotected TypeDesctypeDesc-
Fields inherited from class org.apache.axis.encoding.ser.BaseSerializerFactory
getSerializer, javaType, log, ser, serClass, serClassConstructor, xmlType
-
-
Constructor Summary
Constructors Constructor Description BeanSerializerFactory(java.lang.Class javaType, QName xmlType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SerializergetGeneralPurpose(java.lang.String mechanismType)Optimize construction of a BeanSerializer by caching the type and property descriptors.SerializergetSerializerAs(java.lang.String mechanismType)Returns a Serializer for the specified XML processing mechanism type.-
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
-
-
-
-
Field Detail
-
typeDesc
protected transient TypeDesc typeDesc
-
propertyDescriptor
protected transient BeanPropertyDescriptor[] propertyDescriptor
-
-
Constructor Detail
-
BeanSerializerFactory
public BeanSerializerFactory(java.lang.Class javaType, QName xmlType)
-
-
Method Detail
-
getSerializerAs
public Serializer getSerializerAs(java.lang.String mechanismType) throws JAXRPCException
Description copied from interface:SerializerFactoryReturns a Serializer for the specified XML processing mechanism type.- Specified by:
getSerializerAsin interfaceSerializerFactory- Overrides:
getSerializerAsin classBaseSerializerFactory- Parameters:
mechanismType- - XML processing mechanism type [TBD: definition of valid constants]- Returns:
- a
Serializerfor the specified XML processing mechanism type - Throws:
JAXRPCException- ifSerializerFactorydoes not support the specified XML processing mechanism
-
getGeneralPurpose
protected Serializer getGeneralPurpose(java.lang.String mechanismType)
Optimize construction of a BeanSerializer by caching the type and property descriptors.- Overrides:
getGeneralPurposein classBaseSerializerFactory
-
-