|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.axis.encoding.TypeMappingImpl
| Inner Class Summary | |
class |
TypeMappingImpl.Pair
|
| Field Summary | |
protected TypeMapping |
delegate
|
protected static org.apache.commons.logging.Log |
log
|
| Constructor Summary | |
TypeMappingImpl(TypeMapping delegate)
Construct TypeMapping |
|
| Method Summary | |
java.lang.Class |
getClassForQName(QName xmlType)
Gets the Class mapped to QName. |
TypeMapping |
getDelegate()
getDelegate gets the new Delegate TypeMapping |
DeserializerFactory |
getDeserializer(java.lang.Class javaType,
QName xmlType)
Gets the DeserializerFactory registered for the specified pair of Java type and XML data type. |
DeserializerFactory |
getDeserializer(QName xmlType)
Gets the DeserializerFactory registered for the xmlType. |
SerializerFactory |
getSerializer(java.lang.Class javaType)
Gets the SerializerFactory registered for the Java type. |
SerializerFactory |
getSerializer(java.lang.Class javaType,
QName xmlType)
Gets the SerializerFactory registered for the specified pair of Java type and XML data type. |
java.lang.String[] |
getSupportedEncodings()
Gets the list of encoding styles supported by this TypeMapping object. |
QName |
getTypeQName(java.lang.Class javaType)
Gets the QName for the type mapped to Class. |
boolean |
isRegistered(java.lang.Class javaType,
QName xmlType)
isRegistered returns true if the [javaType, xmlType] pair is registered. |
void |
register(java.lang.Class javaType,
QName xmlType,
SerializerFactory sf,
DeserializerFactory dsf)
Registers SerializerFactory and DeserializerFactory for a specific type mapping between an XML type and Java type. |
void |
removeDeserializer(java.lang.Class javaType,
QName xmlType)
Removes the DeserializerFactory registered for the specified pair of Java type and XML data type. |
void |
removeSerializer(java.lang.Class javaType,
QName xmlType)
Removes the SerializerFactory registered for the specified pair of Java type and XML data type. |
void |
setDelegate(TypeMapping delegate)
setDelegate sets the new Delegate TypeMapping |
void |
setSupportedEncodings(java.lang.String[] namespaceURIs)
Sets the list of encoding styles supported by this TypeMapping object. |
| 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 TypeMapping delegate
| Constructor Detail |
public TypeMappingImpl(TypeMapping delegate)
| Method Detail |
public void setDelegate(TypeMapping delegate)
setDelegate in interface TypeMappingpublic TypeMapping getDelegate()
getDelegate in interface TypeMappingpublic java.lang.String[] getSupportedEncodings()
getSupportedEncodings in interface TypeMappingpublic void setSupportedEncodings(java.lang.String[] namespaceURIs)
setSupportedEncodings in interface TypeMappingnamespaceURIs - String[] of namespace URI's
public boolean isRegistered(java.lang.Class javaType,
QName xmlType)
isRegistered in interface TypeMappingjavaType - - Class of the Java typexmlType - - Qualified name of the XML data type
public void register(java.lang.Class javaType,
QName xmlType,
SerializerFactory sf,
DeserializerFactory dsf)
throws JAXRPCException
register in interface TypeMappingjavaType - - Class of the Java typexmlType - - Qualified name of the XML data typesf - - SerializerFactorydsf - - DeserializerFactoryJAXRPCException - - If any error during the registration
public SerializerFactory getSerializer(java.lang.Class javaType,
QName xmlType)
throws JAXRPCException
getSerializer in interface TypeMappingjavaType - - Class of the Java typexmlType - - Qualified name of the XML data typeJAXRPCException - - If there is no registered SerializerFactory
for this pair of Java type and XML data type
java.lang.IllegalArgumentException -
If invalid or unsupported XML/Java type is specified
public DeserializerFactory getDeserializer(java.lang.Class javaType,
QName xmlType)
throws JAXRPCException
getDeserializer in interface TypeMappingjavaType - - Class of the Java typexmlType - - Qualified name of the XML data typeJAXRPCException - - If there is no registered DeserializerFactory
for this pair of Java type and XML data type
java.lang.IllegalArgumentException -
If invalid or unsupported XML/Java type is specified
public void removeSerializer(java.lang.Class javaType,
QName xmlType)
throws JAXRPCException
removeSerializer in interface TypeMappingjavaType - - Class of the Java typexmlType - - Qualified name of the XML data typeJAXRPCException - - If there is error in
removing the registered SerializerFactory
public void removeDeserializer(java.lang.Class javaType,
QName xmlType)
throws JAXRPCException
removeDeserializer in interface TypeMappingjavaType - - Class of the Java typexmlType - - Qualified name of the XML data typeJAXRPCException - - If there is error in
removing the registered DeserializerFactorypublic QName getTypeQName(java.lang.Class javaType)
getTypeQName in interface TypeMappingjavaType - class or typepublic java.lang.Class getClassForQName(QName xmlType)
getClassForQName in interface TypeMappingxmlType - qname or null
public SerializerFactory getSerializer(java.lang.Class javaType)
throws JAXRPCException
getSerializer in interface TypeMappingjavaType - - Class of the Java typeJAXRPCException - - If there is no registered SerializerFactory
for this pair of Java type and XML data type
java.lang.IllegalArgumentException -
If invalid or unsupported XML/Java type is specified
public DeserializerFactory getDeserializer(QName xmlType)
throws JAXRPCException
getDeserializer in interface TypeMappingxmlType - - Qualified name of the XML data typeJAXRPCException - - If there is no registered DeserializerFactory
for this pair of Java type and XML data type
java.lang.IllegalArgumentException -
If invalid or unsupported XML/Java type is specified
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||