public interface TypeMapping extends TypeMapping, java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.lang.Class[] |
getAllClasses()
Returns an array of all the classes contained within this mapping
|
java.lang.Class |
getClassForQName(QName xmlType)
Gets the Class mapped to QName.
|
java.lang.Class |
getClassForQName(QName xmlType,
java.lang.Class javaType) |
DeserializerFactory |
getDeserializer(QName xmlType)
Gets the DeserializerFactory registered for the specified XML data type.
|
SerializerFactory |
getSerializer(java.lang.Class javaType)
Gets the SerializerFactory registered for the specified pair
of Java type and XML data type.
|
QName |
getTypeQName(java.lang.Class javaType)
Gets the QName for the type mapped to Class.
|
QName |
getTypeQNameExact(java.lang.Class javaType)
Get the QName for this Java class, but only return a specific
mapping if there is one.
|
QName |
getXMLType(java.lang.Class javaType,
QName xmlType,
boolean encoded)
Get the exact XML type QName which will be used when serializing a
given Class to a given type QName.
|
getDeserializer, getSerializer, getSupportedEncodings, isRegistered, register, removeDeserializer, removeSerializer, setSupportedEncodings
SerializerFactory getSerializer(java.lang.Class javaType) throws JAXRPCException
javaType
- - 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 specifiedDeserializerFactory getDeserializer(QName xmlType) throws JAXRPCException
xmlType
- - 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 specifiedQName getTypeQName(java.lang.Class javaType)
javaType
- class or typeQName getTypeQNameExact(java.lang.Class javaType)
javaType
- java.lang.Class getClassForQName(QName xmlType)
xmlType
- qname or nulljava.lang.Class getClassForQName(QName xmlType, java.lang.Class javaType)
java.lang.Class[] getAllClasses()
QName getXMLType(java.lang.Class javaType, QName xmlType, boolean encoded) throws JAXRPCException
javaType
- xmlType
- JAXRPCException
Copyright ? 2005 Apache Web Services Project. All Rights Reserved.