|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.axis.encoding.TypeMappingRegistryImpl
Constructor Summary | |
TypeMappingRegistryImpl()
Construct TypeMappingRegistry |
Method Summary | |
void |
clear()
Removes all TypeMappings and namespaceURIs from this TypeMappingRegistry. |
TypeMapping |
createTypeMapping()
Creates a new empty TypeMapping object for the specified encoding style or XML schema namespace. |
void |
delegate(TypeMappingRegistry secondaryTMR)
delegate Changes the contained type mappings to delegate to their corresponding types in the secondary TMR. |
TypeMapping |
getDefaultTypeMapping()
Return the default TypeMapping |
java.lang.String[] |
getRegisteredNamespaces()
Gets a list of namespace URIs registered with this TypeMappingRegistry. |
TypeMapping |
getTypeMapping(java.lang.String namespaceURI)
Gets the TypeMapping for the namespace. |
TypeMapping |
register(java.lang.String namespaceURI,
TypeMapping mapping)
The method register adds a TypeMapping instance for a specific namespace |
void |
registerDefault(TypeMapping mapping)
The method register adds a default TypeMapping instance. |
boolean |
removeTypeMapping(TypeMapping mapping)
Removes the TypeMapping for the namespace. |
TypeMapping |
unregisterTypeMapping(java.lang.String namespaceURI)
Unregisters the TypeMapping for the namespace. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TypeMappingRegistryImpl()
Method Detail |
public void delegate(TypeMappingRegistry secondaryTMR)
delegate
in interface TypeMappingRegistry
public TypeMapping register(java.lang.String namespaceURI, TypeMapping mapping)
register
in interface TypeMappingRegistry
namespaceURI
- mapping
- - TypeMapping for specific namespacesJAXRPCException
- - If there is any error in the registration
of the TypeMapping for the specified namespace URIpublic void registerDefault(TypeMapping mapping)
registerDefault
in interface TypeMappingRegistry
mapping
- - TypeMapping for specific type namespaces
java.lang.IllegalArgumentException -
if an invalid namespace URI is specifiedpublic TypeMapping getTypeMapping(java.lang.String namespaceURI)
getTypeMapping
in interface TypeMappingRegistry
namespaceURI
- - The namespace URI of a Web Servicepublic TypeMapping unregisterTypeMapping(java.lang.String namespaceURI)
unregisterTypeMapping
in interface TypeMappingRegistry
namespaceURI
- - The namespace URIpublic boolean removeTypeMapping(TypeMapping mapping)
removeTypeMapping
in interface TypeMappingRegistry
typeMapping-
- The type mapping to removepublic TypeMapping createTypeMapping()
createTypeMapping
in interface TypeMappingRegistry
public java.lang.String[] getRegisteredNamespaces()
getRegisteredNamespaces
in interface TypeMappingRegistry
public void clear()
clear
in interface TypeMappingRegistry
public TypeMapping getDefaultTypeMapping()
getDefaultTypeMapping
in interface TypeMappingRegistry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |