|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface javax.xml.rpc.encoding.TypeMappingRegistry defines a registry for TypeMapping instances for the different encoding styles.
Method Summary | |
void |
clear(java.lang.String namespaceURI)
Removes all registered TypeMappings from the registery |
TypeMapping |
createTypeMapping()
Creates a new empty TypeMapping object for the specified encoding style or XML schema namespace. |
TypeMapping |
getDefaultTypeMapping()
Return the default TypeMapping |
java.lang.String[] |
getRegisteredNamespaces()
Gets a list of namespace URIs registered with this TypeMappingRegistry. |
TypeMapping |
getTypeMapping(java.lang.String namespaceURI)
Gets the TypeMapping namespace. |
void |
register(java.lang.String namespace,
TypeMapping maping)
The method register adds a TypeMapping instance for a specific namespace |
void |
registerDefault(TypeMapping mapping)
The method register adds a default TypeMapping instance. |
boolean |
removeTypeMapping(TypeMapping namespaceURI)
Remove TypeMapping by unregistering it from all namespaces. |
TypeMapping |
unregisterTypeMapping(java.lang.String namespaceURI)
Unregisters the TypeMapping for the namespace. |
Method Detail |
public void register(java.lang.String namespace, TypeMapping maping) throws JAXRPCException
namespaceURI
- mapping
- - TypeMapping for specific type namespacesJAXRPCException
- - If there is any error in the registration
of the TypeMapping for the specified namespace URI
java.lang.IllegalArgumentException - if an invalid namespace URI is specifiedpublic void registerDefault(TypeMapping mapping) throws JAXRPCException
mapping
- - TypeMapping for specific type namespacesJAXRPCException
- - If there is any error in the registration
of the TypeMapping for the specified namespace URI
java.lang.IllegalArgumentException - if an invalid namespace URI is specifiedpublic TypeMapping getDefaultTypeMapping()
public TypeMapping getTypeMapping(java.lang.String namespaceURI)
namespaceURI
- - The namespace URIpublic TypeMapping unregisterTypeMapping(java.lang.String namespaceURI)
namespaceURI
- - The namespace URIpublic boolean removeTypeMapping(TypeMapping namespaceURI)
mapping
- - The mapping to removepublic TypeMapping createTypeMapping()
public java.lang.String[] getRegisteredNamespaces()
public void clear(java.lang.String namespaceURI)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |