|
||||||||||
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()
Removes all TypeMappings and namespaceURIs from this TypeMappingRegistry. |
TypeMapping |
createTypeMapping()
Creates a new empty TypeMapping object. |
TypeMapping |
getDefaultTypeMapping()
Return the registered default TypeMapping instance |
java.lang.String[] |
getRegisteredNamespaces()
Gets a list of namespace URIs registered with this TypeMappingRegistry. |
TypeMapping |
getTypeMapping(java.lang.String namespaceURI)
Returns the registered TypeMapping for the specified namespace URI. |
TypeMapping |
register(java.lang.String namespace,
TypeMapping mapping)
Registers a TypeMapping instance with the TypeMappingRegistry. |
void |
registerDefault(TypeMapping mapping)
Registers the TypeMapping instance that is default for all encoding styles and XML schema namespaces supported by the TypeMappingRegistry. |
boolean |
removeTypeMapping(TypeMapping mapping)
Removes a TypeMapping from the TypeMappingRegistry. |
TypeMapping |
unregisterTypeMapping(java.lang.String namespaceURI)
Unregisters a TypeMapping instance, if present, from the specified namespaceURI. |
Method Detail |
public TypeMapping register(java.lang.String namespace, TypeMapping mapping)
namespaceURI
- - An encoding style or XML schema namespace specified
as an URI. An example is
"http://schemas.xmlsoap.org/soap/encoding/"mapping
- - TypeMapping instanceJAXRPCException
- - If there is any error in the registration
of the TypeMapping for the specified namespace URIpublic void registerDefault(TypeMapping mapping)
If the default TypeMapping is registered, any other TypeMapping instances registered through the TypeMappingRegistry.register method (for a set of namespace URIs) override the default TypeMapping.
mapping
- - TypeMapping instanceJAXRPCException
- - If there is any error in the registration
of the TypeMapping for the specified namespace URIpublic TypeMapping getDefaultTypeMapping()
public TypeMapping getTypeMapping(java.lang.String namespaceURI)
namespaceURI
- - Encoding style or XML schema namespace specified
as an URIpublic TypeMapping unregisterTypeMapping(java.lang.String namespaceURI)
namespaceURI
- - Encoding style or XML schema namespace specified
as an URIpublic boolean removeTypeMapping(TypeMapping mapping)
mapping
- - TypeMapping to removepublic TypeMapping createTypeMapping()
public java.lang.String[] getRegisteredNamespaces()
public void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |