| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  |
  +--org.apache.soap.util.xml.XMLJavaMappingRegistry
        |
        +--org.apache.soap.encoding.SOAPMappingRegistry
A SOAPMappingRegistry object is an
 XMLJavaMappingRegistry with pre-registered
 serializers and deserializers to support SOAP.
| Field Summary | |
static MimePartSerializer | 
partSer
 | 
| Constructor Summary | |
SOAPMappingRegistry()
Create a new SMR.  | 
|
SOAPMappingRegistry(SOAPMappingRegistry parent)
This constructor takes a "parent" registry as a base registry.  | 
|
SOAPMappingRegistry(SOAPMappingRegistry parent,
                    java.lang.String schemaURI)
This constructor is the base constructor.  | 
|
| Method Summary | |
static SOAPMappingRegistry | 
getBaseRegistry(java.lang.String schemaURI)
Return the singleton registry instance configured for the indicated schema URI.  | 
 SOAPMappingRegistry | 
getParent()
Returns the "parent" registry, if there is one.  | 
 java.lang.String | 
getSchemaURI()
Return the schemaURI that was used to create this registry instance.  | 
protected  Deserializer | 
queryDeserializer_(QName elementType,
                   java.lang.String encodingStyleURI)
Override the query deserializer to look at the parent too before saying that a deserializer is not available.  | 
protected  QName | 
queryElementType_(java.lang.Class javaType,
                  java.lang.String encodingStyleURI)
This function overrides the one in XMLJavaMappingRegistry for the sole purpose of returning SOAP-ENC:Array when javaType represents an array.  | 
protected  java.lang.Class | 
queryJavaType_(QName elementType,
               java.lang.String encodingStyleURI)
Overide the query Javatype to look at the parent too before saying that a Java type is not available.  | 
protected  Serializer | 
querySerializer_(java.lang.Class javaType,
                 java.lang.String encodingStyleURI)
This function overrides the one in XMLJavaMappingRegistry for the sole purpose of returning an ArraySerializer when javaType represents an array.  | 
 void | 
setDefaultEncodingStyle(java.lang.String defEncStyle)
Set the default encoding style.  | 
| Methods inherited from class org.apache.soap.util.xml.XMLJavaMappingRegistry | 
getClassName, 
mapTypes, 
marshall, 
queryDeserializer, 
queryElementType, 
queryJavaType, 
querySerializer, 
unmarshall | 
| Methods inherited from class java.lang.Object | 
clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
toString, 
wait, 
wait, 
wait | 
| Field Detail | 
public static MimePartSerializer partSer
| Constructor Detail | 
public SOAPMappingRegistry()
public SOAPMappingRegistry(SOAPMappingRegistry parent)
public SOAPMappingRegistry(SOAPMappingRegistry parent,
                           java.lang.String schemaURI)
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.| Method Detail | 
public static SOAPMappingRegistry getBaseRegistry(java.lang.String schemaURI)
public void setDefaultEncodingStyle(java.lang.String defEncStyle)
public java.lang.String getSchemaURI()
public SOAPMappingRegistry getParent()
protected QName queryElementType_(java.lang.Class javaType,
                                  java.lang.String encodingStyleURI)
protected Serializer querySerializer_(java.lang.Class javaType,
                                      java.lang.String encodingStyleURI)
protected Deserializer queryDeserializer_(QName elementType,
                                          java.lang.String encodingStyleURI)
protected java.lang.Class queryJavaType_(QName elementType,
                                         java.lang.String encodingStyleURI)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||