javax.xml.rpc.encoding
Interface TypeMappingRegistry

All Superinterfaces:
java.io.Serializable

public interface TypeMappingRegistry
extends java.io.Serializable

The interface javax.xml.rpc.encoding.TypeMappingRegistry defines a registry for TypeMapping instances for the different encoding styles.

Version:
0.1

Method Summary
 TypeMapping createTypeMapping(java.lang.String namespaceURI)
          Creates a new empty TypeMapping object for the specified encoding style or XML schema namespace.
 java.util.Iterator getEncodingStyle()
          Gets a list of namespace URIs registered with this TypeMappingRegistry.
 TypeMapping getTypeMapping(java.lang.String namespaceURI)
          Returns the registered TypeMapping for the specified encoding style or XML schema namespace.
 java.util.Iterator getTypeMappings()
          Gets a list of all TypeMapping objects registered with this TypeMappingRegistry.
 void registry(TypeMapping mapping, java.lang.String namespaceURI)
          The method register adds a TypeMapping instance for a specific encoding style or XML schema namespace to the type mapping registry.
 

Method Detail

registry

public void registry(TypeMapping mapping,
                     java.lang.String namespaceURI)
              throws JAXRPCException
The method register adds a TypeMapping instance for a specific encoding style or XML schema namespace to the type mapping registry.
Parameters:
mapping - - TypeMapping for a specific encoding style or XML schema namespace
namespaceURI - - Encoding style or XML schema namespace specified as an URI. An example is "http://schemas.xmlsoap.org/soap/encoding/"
Throws:
JAXRPCException - - If there is any error in the registration of the TypeMapping for the specified namespace URI java.lang.IllegalArgumentException - if an invalid namespace URI is specified

getTypeMappings

public java.util.Iterator getTypeMappings()
Gets a list of all TypeMapping objects registered with this TypeMappingRegistry.
Returns:
java.util.Iterator for the list of registered TypeMapping objects

getEncodingStyle

public java.util.Iterator getEncodingStyle()
Gets a list of namespace URIs registered with this TypeMappingRegistry.
Returns:
java.util.Iterator for the list of all registered namespace URIs

getTypeMapping

public TypeMapping getTypeMapping(java.lang.String namespaceURI)
Returns the registered TypeMapping for the specified encoding style or XML schema namespace.
Parameters:
namespaceURI - - Encoding style or XML schema namespace specified as an URI. An example is "http://schemas.xmlsoap.org/soap/encoding/"
Returns:
The registered TypeMapping for the specified encoding style or XML schema namespace. If there is no registered TypeMapping, this method returns null.

createTypeMapping

public TypeMapping createTypeMapping(java.lang.String namespaceURI)
Creates a new empty TypeMapping object for the specified encoding style or XML schema namespace.
Parameters:
namespaceURI - - Encoding style or XML schema namespace specified as an URI. An example is "http://schemas.xmlsoap.org/soap/encoding/"
Returns:
An empty TypeMapping object


Copyright © 2001 Apache XML Project. All Rights Reserved.