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:
- Serializable, SerializerFactory
public class BeanSerializerFactory
- extends BaseSerializerFactory
SerializerFactory for Bean
- Author:
- Rich Scheuerle
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
typeDesc
protected transient TypeDesc typeDesc
propertyDescriptor
protected transient BeanPropertyDescriptor[] propertyDescriptor
BeanSerializerFactory
public BeanSerializerFactory(Class javaType,
QName xmlType)
getSerializerAs
public Serializer getSerializerAs(String mechanismType)
throws JAXRPCException
- Description copied from interface:
SerializerFactory
- Returns a Serializer for the specified XML processing mechanism type.
- Specified by:
getSerializerAs in interface SerializerFactory- Overrides:
getSerializerAs in class BaseSerializerFactory
- Parameters:
mechanismType - - XML processing mechanism type [TBD: definition
of valid constants]
- Returns:
- a
Serializer for the specified XML processing
mechanism type
- Throws:
JAXRPCException - if SerializerFactory does not support the
specified XML processing mechanism
getGeneralPurpose
protected Serializer getGeneralPurpose(String mechanismType)
- Optimize construction of a BeanSerializer by caching the
type and property descriptors.
- Overrides:
getGeneralPurpose in class BaseSerializerFactory
Copyright © The Apache Software Foundation. All Rights Reserved.