public class TypeMappingRegistryImpl extends Object implements javax.xml.rpc.encoding.TypeMappingRegistry
| Constructor and Description |
|---|
TypeMappingRegistryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all registered TypeMappings and encodingStyleURIs from this TypeMappingRegistry.
|
javax.xml.rpc.encoding.TypeMapping |
createTypeMapping()
Creates a new empty TypeMapping object.
|
javax.xml.rpc.encoding.TypeMapping |
getDefaultTypeMapping()
Gets the registered default TypeMapping instance.
|
String[] |
getRegisteredEncodingStyleURIs()
Returns a list of registered encodingStyle URIs in this TypeMappingRegistry instance.
|
javax.xml.rpc.encoding.TypeMapping |
getTypeMapping(String encodingStyleURI)
Returns the registered TypeMapping for the specified encodingStyle URI.
|
javax.xml.rpc.encoding.TypeMapping |
register(String encodingStyleURI,
javax.xml.rpc.encoding.TypeMapping mapping)
Registers a TypeMapping instance with the TypeMappingRegistry.
|
void |
registerDefault(javax.xml.rpc.encoding.TypeMapping mapping)
Registers the TypeMapping instance that is default for all encoding styles supported by the TypeMappingRegistry.
|
boolean |
removeTypeMapping(javax.xml.rpc.encoding.TypeMapping mapping)
Removes a TypeMapping from the TypeMappingRegistry.
|
javax.xml.rpc.encoding.TypeMapping |
unregisterTypeMapping(String encodingStyleURI)
Unregisters a TypeMapping instance, if present, from the specified encodingStyleURI.
|
public void clear()
clear in interface javax.xml.rpc.encoding.TypeMappingRegistrypublic javax.xml.rpc.encoding.TypeMapping getDefaultTypeMapping()
getDefaultTypeMapping in interface javax.xml.rpc.encoding.TypeMappingRegistrypublic void registerDefault(javax.xml.rpc.encoding.TypeMapping mapping)
registerDefault in interface javax.xml.rpc.encoding.TypeMappingRegistrymapping - TypeMapping instancejavax.xml.rpc.JAXRPCException - If there is an error in the registration of the default TypeMappingpublic javax.xml.rpc.encoding.TypeMapping createTypeMapping()
createTypeMapping in interface javax.xml.rpc.encoding.TypeMappingRegistrypublic javax.xml.rpc.encoding.TypeMapping getTypeMapping(String encodingStyleURI)
getTypeMapping in interface javax.xml.rpc.encoding.TypeMappingRegistryencodingStyleURI - Encoding style specified as an URIpublic String[] getRegisteredEncodingStyleURIs()
getRegisteredEncodingStyleURIs in interface javax.xml.rpc.encoding.TypeMappingRegistrypublic javax.xml.rpc.encoding.TypeMapping register(String encodingStyleURI, javax.xml.rpc.encoding.TypeMapping mapping)
register in interface javax.xml.rpc.encoding.TypeMappingRegistryencodingStyleURI - An encoding style specified as an URI.mapping - TypeMapping instancejavax.xml.rpc.JAXRPCException - If there is an error in the registration of the TypeMapping for the specified encodingStyleURI.public javax.xml.rpc.encoding.TypeMapping unregisterTypeMapping(String encodingStyleURI)
unregisterTypeMapping in interface javax.xml.rpc.encoding.TypeMappingRegistryencodingStyleURI - Encoding style specified as an URIpublic boolean removeTypeMapping(javax.xml.rpc.encoding.TypeMapping mapping)
removeTypeMapping in interface javax.xml.rpc.encoding.TypeMappingRegistrymapping - TypeMapping to be removedCopyright © 2013 JBoss, by Red Hat. All Rights Reserved.