|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.encoding.ser.BaseFactory org.apache.axis.encoding.ser.BaseSerializerFactory
Base class for Axis Serialization Factory classes for code reuse
Field Summary | |
protected Method |
getSerializer
|
protected Class |
javaType
|
protected Serializer |
ser
|
protected Class |
serClass
|
protected Constructor |
serClassConstructor
|
protected javax.xml.namespace.QName |
xmlType
|
Constructor Summary | |
BaseSerializerFactory(Class serClass)
Constructor |
|
BaseSerializerFactory(Class serClass,
javax.xml.namespace.QName xmlType,
Class javaType)
|
Method Summary | |
static SerializerFactory |
createFactory(Class factory,
Class javaType,
javax.xml.namespace.QName xmlType)
Utility method that intospects on a factory class to decide how to create the factory. |
protected Serializer |
getGeneralPurpose(String mechanismType)
Obtains a serializer by invoking |
protected Method |
getGetSerializer()
Returns the getSerializer. |
Class |
getJavaType()
get javaType |
protected Constructor |
getSerClassConstructor()
Returns the serClassConstructor. |
javax.xml.rpc.encoding.Serializer |
getSerializerAs(String mechanismType)
|
protected Serializer |
getSerializerAsInternal(String mechanismType)
|
protected Serializer |
getSpecialized(String mechanismType)
Obtains a serializer by invoking getSerializer method in the javaType class or its Helper class. |
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 |
protected Class serClass
protected javax.xml.namespace.QName xmlType
protected Class javaType
protected transient Serializer ser
protected transient Constructor serClassConstructor
protected transient Method getSerializer
Constructor Detail |
public BaseSerializerFactory(Class serClass)
serClass
- is the class of the Serializer
Sharing is only valid for xml primitives.public BaseSerializerFactory(Class serClass, javax.xml.namespace.QName xmlType, Class javaType)
Method Detail |
public javax.xml.rpc.encoding.Serializer getSerializerAs(String mechanismType) throws javax.xml.rpc.JAXRPCException
getSerializerAs
in interface javax.xml.rpc.encoding.SerializerFactory
javax.xml.rpc.JAXRPCException
protected Serializer getSerializerAsInternal(String mechanismType) throws javax.xml.rpc.JAXRPCException
javax.xml.rpc.JAXRPCException
protected Serializer getGeneralPurpose(String mechanismType)
protected Serializer getSpecialized(String mechanismType)
public Iterator getSupportedMechanismTypes()
getSupportedMechanismTypes
in interface javax.xml.rpc.encoding.SerializerFactory
public javax.xml.namespace.QName getXMLType()
public Class getJavaType()
public static SerializerFactory createFactory(Class factory, Class javaType, javax.xml.namespace.QName xmlType)
factory
- classxmlType
- javaType
- protected Method getGetSerializer()
protected Constructor getSerClassConstructor()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |