|
|||||||||
| Home >> All >> org >> apache >> axis >> encoding >> [ ser overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.axis.encoding.ser
Class BaseSerializerFactory

java.lang.Objectorg.apache.axis.encoding.ser.BaseFactory
org.apache.axis.encoding.ser.BaseSerializerFactory
- All Implemented Interfaces:
- java.io.Serializable, org.apache.axis.encoding.SerializerFactory, javax.xml.rpc.encoding.SerializerFactory
- Direct Known Subclasses:
- ArraySerializerFactory, Base64SerializerFactory, BeanSerializerFactory, CalendarSerializerFactory, DateSerializerFactory, DocumentSerializerFactory, ElementSerializerFactory, EnumSerializerFactory, HexSerializerFactory, JAFDataHandlerSerializerFactory, MapSerializerFactory, QNameSerializerFactory, SimpleListSerializerFactory, SimpleSerializerFactory, TimeSerializerFactory, VectorSerializerFactory
- public abstract class BaseSerializerFactory
- extends BaseFactory
- implements org.apache.axis.encoding.SerializerFactory
- extends BaseFactory
Base class for Axis Serialization Factory classes for code reuse
| Field Summary | |
private static java.lang.Class[] |
CLASS_QNAME_CLASS
|
protected java.lang.reflect.Method |
getSerializer
|
protected java.lang.Class |
javaType
|
protected static org.apache.commons.logging.Log |
log
|
(package private) static java.util.Vector |
mechanisms
|
protected org.apache.axis.encoding.Serializer |
ser
|
protected java.lang.Class |
serClass
|
protected java.lang.reflect.Constructor |
serClassConstructor
|
protected javax.xml.namespace.QName |
xmlType
|
| Fields inherited from class org.apache.axis.encoding.ser.BaseFactory |
|
| Constructor Summary | |
BaseSerializerFactory(java.lang.Class serClass)
Constructor |
|
BaseSerializerFactory(java.lang.Class serClass,
javax.xml.namespace.QName xmlType,
java.lang.Class javaType)
|
|
| Method Summary | |
static org.apache.axis.encoding.SerializerFactory |
createFactory(java.lang.Class factory,
java.lang.Class javaType,
javax.xml.namespace.QName xmlType)
Utility method that intospects on a factory class to decide how to create the factory. |
private java.lang.reflect.Constructor |
getConstructor(java.lang.Class clazz)
return constructor for class if any |
protected org.apache.axis.encoding.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. |
javax.xml.rpc.encoding.Serializer |
getSerializerAs(java.lang.String mechanismType)
Returns a Serializer for the specified XML processing mechanism type. |
protected org.apache.axis.encoding.Serializer |
getSerializerAsInternal(java.lang.String mechanismType)
|
protected org.apache.axis.encoding.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. |
javax.xml.namespace.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 |
log
protected static org.apache.commons.logging.Log log
mechanisms
static transient java.util.Vector mechanisms
serClass
protected java.lang.Class serClass
xmlType
protected javax.xml.namespace.QName xmlType
javaType
protected java.lang.Class javaType
ser
protected transient org.apache.axis.encoding.Serializer ser
serClassConstructor
protected transient java.lang.reflect.Constructor serClassConstructor
getSerializer
protected transient java.lang.reflect.Method getSerializer
CLASS_QNAME_CLASS
private static final java.lang.Class[] CLASS_QNAME_CLASS
| Constructor Detail |
BaseSerializerFactory
public BaseSerializerFactory(java.lang.Class serClass)
- Constructor
BaseSerializerFactory
public BaseSerializerFactory(java.lang.Class serClass, javax.xml.namespace.QName xmlType, java.lang.Class javaType)
| Method Detail |
getSerializerAs
public javax.xml.rpc.encoding.Serializer getSerializerAs(java.lang.String mechanismType) throws javax.xml.rpc.JAXRPCException
- Description copied from interface:
javax.xml.rpc.encoding.SerializerFactory - Returns a Serializer for the specified XML processing mechanism type.
- Specified by:
getSerializerAsin interfacejavax.xml.rpc.encoding.SerializerFactory
getSerializerAsInternal
protected org.apache.axis.encoding.Serializer getSerializerAsInternal(java.lang.String mechanismType) throws javax.xml.rpc.JAXRPCException
getGeneralPurpose
protected org.apache.axis.encoding.Serializer getGeneralPurpose(java.lang.String mechanismType)
- Obtains a serializer by invoking
(javaType, xmlType) on the serClass.
getConstructor
private java.lang.reflect.Constructor getConstructor(java.lang.Class clazz)
- return constructor for class if any
getSpecialized
protected org.apache.axis.encoding.Serializer getSpecialized(java.lang.String mechanismType)
- Obtains a serializer by invoking getSerializer method in the
javaType class or its Helper class.
getSupportedMechanismTypes
public java.util.Iterator getSupportedMechanismTypes()
- Returns a list of all XML processing mechanism types supported
by this SerializerFactory.
- Specified by:
getSupportedMechanismTypesin interfacejavax.xml.rpc.encoding.SerializerFactory
getXMLType
public javax.xml.namespace.QName getXMLType()
- get xmlType
getJavaType
public java.lang.Class getJavaType()
- get javaType
createFactory
public static org.apache.axis.encoding.SerializerFactory createFactory(java.lang.Class factory, java.lang.Class javaType, javax.xml.namespace.QName xmlType)
- Utility method that intospects on a factory class to decide how to
create the factory. Tries in the following order:
public static create(Class javaType, QName xmlType)
public
(Class javaType, QName xmlType) public ()
getGetSerializer
protected java.lang.reflect.Method getGetSerializer()
- Returns the getSerializer.
getSerClassConstructor
protected java.lang.reflect.Constructor getSerClassConstructor()
- Returns the serClassConstructor.
|
|||||||||
| Home >> All >> org >> apache >> axis >> encoding >> [ ser overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC