public interface TypeMappingRegistry extends 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.
|
String[] |
getRegisteredEncodingStyleURIs()
Returns a list of registered encodingStyle URIs in this TypeMappingRegistry instance.
|
TypeMapping |
getTypeMapping(String encodingStyleURI)
Returns the registered TypeMapping for the specified encodingStyle URI.
|
TypeMapping |
register(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(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(String encodingStyleURI)
encodingStyleURI
- Encoding style specified as an URIString[] getRegisteredEncodingStyleURIs()
TypeMapping register(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(String encodingStyleURI)
encodingStyleURI
- Encoding style specified as an URIboolean removeTypeMapping(TypeMapping mapping)
mapping
- TypeMapping to be removedCopyright © 2012 JBoss by Red Hat. All Rights Reserved.