|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeMappingRegistry
This defines a registry of TypeMapping instances for encoding styles.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void clear()
TypeMapping getDefaultTypeMapping()
void registerDefault(TypeMapping mapping)
mapping
- TypeMapping instance
JAXRPCException
- If there is an error in the registration of the default TypeMappingTypeMapping createTypeMapping()
TypeMapping getTypeMapping(String encodingStyleURI)
encodingStyleURI
- Encoding style specified as an URI
String[] getRegisteredEncodingStyleURIs()
TypeMapping register(String encodingStyleURI, TypeMapping mapping)
encodingStyleURI
- An encoding style specified as an URI.mapping
- TypeMapping instance
JAXRPCException
- 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 URI
boolean removeTypeMapping(TypeMapping mapping)
mapping
- TypeMapping to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |