public class BeanSerializerFactory extends BaseSerializerFactory
Modifier and Type | Field and Description |
---|---|
protected BeanPropertyDescriptor[] |
propertyDescriptor |
protected TypeDesc |
typeDesc |
getSerializer, javaType, log, ser, serClass, serClassConstructor, xmlType
Constructor and Description |
---|
BeanSerializerFactory(Class javaType,
QName xmlType) |
Modifier and Type | Method and Description |
---|---|
protected Serializer |
getGeneralPurpose(String mechanismType)
Optimize construction of a BeanSerializer by caching the
type and property descriptors.
|
Serializer |
getSerializerAs(String mechanismType)
Returns a Serializer for the specified XML processing mechanism type.
|
createFactory, getGetSerializer, getJavaType, getSerClassConstructor, getSerializerAsInternal, getSpecialized, getSupportedMechanismTypes, getXMLType
getMethod
protected transient TypeDesc typeDesc
protected transient BeanPropertyDescriptor[] propertyDescriptor
public Serializer getSerializerAs(String mechanismType) throws JAXRPCException
SerializerFactory
getSerializerAs
in interface SerializerFactory
getSerializerAs
in class BaseSerializerFactory
mechanismType
- - XML processing mechanism type [TBD: definition
of valid constants]Serializer
for the specified XML processing
mechanism typeJAXRPCException
- if SerializerFactory
does not support the
specified XML processing mechanismprotected Serializer getGeneralPurpose(String mechanismType)
getGeneralPurpose
in class BaseSerializerFactory
Copyright © The Apache Software Foundation. All Rights Reserved.