org.apache.soap.encoding
Class SOAPMappingRegistry
java.lang.Object
|
+--org.apache.soap.util.xml.XMLJavaMappingRegistry
|
+--org.apache.soap.encoding.SOAPMappingRegistry
- public class SOAPMappingRegistry
- extends XMLJavaMappingRegistry
A SOAPMappingRegistry
object is an
XMLJavaMappingRegistry
with pre-registered
serializers and deserializers to support SOAP.
Method Summary |
static SOAPMappingRegistry |
getBaseRegistry(java.lang.String schemaURI)
Return the singleton registry instance configured for the
indicated schema URI. |
java.lang.String |
getSchemaURI()
Return the schemaURI that was used to create this registry
instance. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
partSer
public static MimePartSerializer partSer
SOAPMappingRegistry
public SOAPMappingRegistry()
- Create a new SMR. The resulting registry is aware of all
pre-defined type mappings.
SOAPMappingRegistry
public SOAPMappingRegistry(SOAPMappingRegistry parent)
- This constructor takes a "parent" registry as a base registry.
Lookup requests cascade up to the parent while registration
requests stay here.
SOAPMappingRegistry
public SOAPMappingRegistry(SOAPMappingRegistry parent,
java.lang.String schemaURI)
- This constructor is the base constructor. If parent is null, then this
is viewed as a base registry and the registry is initialized with
all the default mappings etc.. If it is not-null, the no init
is done and the parent is assumed to have the stuff in it already.
- Parameters:
parent
- the "parent" SMR to delegate lookups to if I can't
find the stuff in my tables. If parent is null, then I get
pre-loaded with all the default type mappings etc. (some
of which are based on the schema URI). If parent is not null,
the default stuff is not put in - the idea is that in that
case the parent already contains the defaults.schemaURI
- the namespace URI of XSD to be used for serializers.
Deserializers for all 3 XSD URIs are always registered.
getBaseRegistry
public static SOAPMappingRegistry getBaseRegistry(java.lang.String schemaURI)
- Return the singleton registry instance configured for the
indicated schema URI. If the schemaURI is unrecognized, the
2001 base registry is returned.
getSchemaURI
public java.lang.String getSchemaURI()
- Return the schemaURI that was used to create this registry
instance.