org.apache.axis.encoding
public interface TypeMapping extends TypeMapping, Serializable
Method Summary | |
---|---|
Class[] | getAllClasses()
Returns an array of all the classes contained within this mapping |
Class | getClassForQName(QName xmlType)
Gets the Class mapped to QName. |
Class | getClassForQName(QName xmlType, Class javaType) |
DeserializerFactory | getDeserializer(QName xmlType)
Gets the DeserializerFactory registered for the specified XML data type.
|
SerializerFactory | getSerializer(Class javaType)
Gets the SerializerFactory registered for the specified pair
of Java type and XML data type.
|
QName | getTypeQName(Class javaType)
Gets the QName for the type mapped to Class. |
QName | getTypeQNameExact(Class javaType)
Get the QName for this Java class, but only return a specific
mapping if there is one. |
QName | getXMLType(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. |
Parameters: xmlType qname or null
Returns: javaType class for type or null for no mapping
Parameters: xmlType - Qualified name of the XML data type
Returns: Registered DeserializerFactory
Throws: JAXRPCException - 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
Parameters: javaType - Class of the Java type
Returns: Registered SerializerFactory
Throws: JAXRPCException - 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
Parameters: javaType class or type
Returns: xmlType qname or null
Parameters: javaType
Returns:
Parameters: javaType xmlType
Returns: the type's QName
Throws: javax.xml.rpc.JAXRPCException