|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes the AXIS TypeMapping.
Method Summary | |
Class[] |
getAllClasses()
Returns an array of all the classes contained within this mapping |
Class |
getClassForQName(javax.xml.namespace.QName xmlType)
Gets the Class mapped to QName. |
TypeMapping |
getDelegate()
getDelegate gets the new Delegate TypeMapping |
javax.xml.rpc.encoding.DeserializerFactory |
getDeserializer(javax.xml.namespace.QName xmlType)
Gets the DeserializerFactory registered for the specified XML data type. |
javax.xml.rpc.encoding.SerializerFactory |
getSerializer(Class javaType)
Gets the SerializerFactory registered for the specified pair of Java type and XML data type. |
javax.xml.namespace.QName |
getTypeQName(Class javaType)
Gets the QName for the type mapped to Class. |
void |
setDelegate(TypeMapping delegate)
setDelegate sets the new Delegate TypeMapping |
Methods inherited from interface javax.xml.rpc.encoding.TypeMapping |
getDeserializer, getSerializer, getSupportedEncodings, isRegistered, register, removeDeserializer, removeSerializer, setSupportedEncodings |
Method Detail |
public void setDelegate(TypeMapping delegate)
public TypeMapping getDelegate()
public javax.xml.rpc.encoding.SerializerFactory getSerializer(Class javaType) throws javax.xml.rpc.JAXRPCException
javaType
- - Class of the Java type
javax.xml.rpc.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 specifiedpublic javax.xml.rpc.encoding.DeserializerFactory getDeserializer(javax.xml.namespace.QName xmlType) throws javax.xml.rpc.JAXRPCException
xmlType
- - Qualified name of the XML data type
javax.xml.rpc.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 specifiedpublic javax.xml.namespace.QName getTypeQName(Class javaType)
javaType
- class or type
public Class getClassForQName(javax.xml.namespace.QName xmlType)
xmlType
- qname or null
public Class[] getAllClasses()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |