public interface TypeMappingRegistry
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all registered TypeMappings and encodingStyleURIs from this TypeMappingRegistry.
|
TypeMapping |
createTypeMapping()
Creates a new empty TypeMapping object.
|
TypeMapping |
getDefaultTypeMapping()
Gets the registered default TypeMapping instance.
|
java.lang.String[] |
getRegisteredEncodingStyleURIs()
Returns a list of registered encodingStyle URIs in this TypeMappingRegistry instance.
|
TypeMapping |
getTypeMapping(java.lang.String encodingStyleURI)
Returns the registered TypeMapping for the specified encodingStyle URI.
|
TypeMapping |
register(java.lang.String encodingStyleURI,
TypeMapping mapping)
Registers a TypeMapping instance with the TypeMappingRegistry.
|
void |
registerDefault(TypeMapping mapping)
Registers the TypeMapping instance that is default for all encoding styles supported by the TypeMappingRegistry.
|
boolean |
removeTypeMapping(TypeMapping mapping)
Removes a TypeMapping from the TypeMappingRegistry.
|
TypeMapping |
unregisterTypeMapping(java.lang.String encodingStyleURI)
Unregisters a TypeMapping instance, if present, from the specified encodingStyleURI.
|
void clear()
TypeMapping getDefaultTypeMapping()
void registerDefault(TypeMapping mapping)
mapping
- TypeMapping instanceJAXRPCException
- If there is an error in the registration of the default TypeMappingTypeMapping createTypeMapping()
TypeMapping getTypeMapping(java.lang.String encodingStyleURI)
encodingStyleURI
- Encoding style specified as an URIjava.lang.String[] getRegisteredEncodingStyleURIs()
TypeMapping register(java.lang.String encodingStyleURI, TypeMapping mapping)
encodingStyleURI
- An encoding style specified as an URI.mapping
- TypeMapping instanceJAXRPCException
- If there is an error in the registration of the TypeMapping for the specified encodingStyleURI.TypeMapping unregisterTypeMapping(java.lang.String encodingStyleURI)
encodingStyleURI
- Encoding style specified as an URIboolean removeTypeMapping(TypeMapping mapping)
mapping
- TypeMapping to be removed