|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis.encoding.ser.BaseFactory
org.apache.axis.encoding.ser.BaseSerializerFactory
public abstract class BaseSerializerFactory
Base class for Axis Serialization Factory classes for code reuse
Field Summary | |
---|---|
protected java.lang.reflect.Method |
getSerializer
|
protected java.lang.Class |
javaType
|
protected static org.apache.commons.logging.Log |
log
|
protected Serializer |
ser
|
protected java.lang.Class |
serClass
|
protected java.lang.reflect.Constructor |
serClassConstructor
|
protected QName |
xmlType
|
Constructor Summary | |
---|---|
BaseSerializerFactory(java.lang.Class serClass)
Constructor |
|
BaseSerializerFactory(java.lang.Class serClass,
QName xmlType,
java.lang.Class javaType)
|
Method Summary | |
---|---|
static SerializerFactory |
createFactory(java.lang.Class factory,
java.lang.Class javaType,
QName xmlType)
Utility method that intospects on a factory class to decide how to create the factory. |
protected Serializer |
getGeneralPurpose(java.lang.String mechanismType)
Obtains a serializer by invoking |
protected java.lang.reflect.Method |
getGetSerializer()
Returns the getSerializer. |
java.lang.Class |
getJavaType()
get javaType |
protected java.lang.reflect.Constructor |
getSerClassConstructor()
Returns the serClassConstructor. |
Serializer |
getSerializerAs(java.lang.String mechanismType)
Returns a Serializer for the specified XML processing mechanism type. |
protected Serializer |
getSerializerAsInternal(java.lang.String mechanismType)
|
protected Serializer |
getSpecialized(java.lang.String mechanismType)
Obtains a serializer by invoking getSerializer method in the javaType class or its Helper class. |
java.util.Iterator |
getSupportedMechanismTypes()
Returns a list of all XML processing mechanism types supported by this SerializerFactory. |
QName |
getXMLType()
get xmlType |
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 |
---|
protected static org.apache.commons.logging.Log log
protected java.lang.Class serClass
protected QName xmlType
protected java.lang.Class javaType
protected transient Serializer ser
protected transient java.lang.reflect.Constructor serClassConstructor
protected transient java.lang.reflect.Method getSerializer
Constructor Detail |
---|
public BaseSerializerFactory(java.lang.Class serClass)
serClass
- is the class of the Serializer
Sharing is only valid for xml primitives.public BaseSerializerFactory(java.lang.Class serClass, QName xmlType, java.lang.Class javaType)
Method Detail |
---|
public Serializer getSerializerAs(java.lang.String mechanismType) throws JAXRPCException
SerializerFactory
getSerializerAs
in interface SerializerFactory
mechanismType
- - XML processing mechanism type [TBD: definition
of valid constants]
Serializer
for the specified XML processing
mechanism type
JAXRPCException
- if SerializerFactory
does not support the
specified XML processing mechanismprotected Serializer getSerializerAsInternal(java.lang.String mechanismType) throws JAXRPCException
JAXRPCException
protected Serializer getGeneralPurpose(java.lang.String mechanismType)
protected Serializer getSpecialized(java.lang.String mechanismType)
public java.util.Iterator getSupportedMechanismTypes()
getSupportedMechanismTypes
in interface SerializerFactory
public QName getXMLType()
public java.lang.Class getJavaType()
public static SerializerFactory createFactory(java.lang.Class factory, java.lang.Class javaType, QName xmlType)
factory
- classxmlType
- javaType
- protected java.lang.reflect.Method getGetSerializer()
protected java.lang.reflect.Constructor getSerClassConstructor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |