org.apache.soap.util.xml
Class XMLJavaMappingRegistry

java.lang.Object
  |
  +--org.apache.soap.util.xml.XMLJavaMappingRegistry
Direct Known Subclasses:
SOAPMappingRegistry

public class XMLJavaMappingRegistry
extends java.lang.Object

An XMLJavaMappingRegistry ...


Constructor Summary
XMLJavaMappingRegistry()
           
 
Method Summary
 void mapTypes(java.lang.String encodingStyleURI, QName elementType, java.lang.Class javaType, Serializer s, Deserializer ds)
           
 void marshall(java.lang.String inScopeEncStyle, java.lang.Class javaType, java.lang.Object src, java.lang.Object context, java.io.Writer sink, NSStack nsStack, SOAPContext ctx)
           
 Deserializer queryDeserializer(QName elementType, java.lang.String encodingStyleURI)
          This version calls the protected method to do the work and if its not found throws an exception.
 QName queryElementType(java.lang.Class javaType, java.lang.String encodingStyleURI)
          This version calls the protected method to do the work and if its not found throws an exception.
 java.lang.Class queryJavaType(QName elementType, java.lang.String encodingStyleURI)
          This version calls the protected method to do the work and if its not found throws an exception.
 Serializer querySerializer(java.lang.Class javaType, java.lang.String encodingStyleURI)
          This version calls the protected method to do the work and if its not found throws an exception.
 void setDefaultEncodingStyle(java.lang.String defEncStyle)
          Set the default encoding style.
 Bean unmarshall(java.lang.String inScopeEncStyle, QName elementType, org.w3c.dom.Node src, SOAPContext ctx)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLJavaMappingRegistry

public XMLJavaMappingRegistry()
Method Detail

setDefaultEncodingStyle

public void setDefaultEncodingStyle(java.lang.String defEncStyle)
Set the default encoding style. If the query*() calls are invoked with a null encodingStyleURI parameter, we'll use this instead.

mapTypes

public void mapTypes(java.lang.String encodingStyleURI,
                     QName elementType,
                     java.lang.Class javaType,
                     Serializer s,
                     Deserializer ds)

querySerializer

public Serializer querySerializer(java.lang.Class javaType,
                                  java.lang.String encodingStyleURI)
                           throws java.lang.IllegalArgumentException
This version calls the protected method to do the work and if its not found throws an exception.

queryDeserializer

public Deserializer queryDeserializer(QName elementType,
                                      java.lang.String encodingStyleURI)
                               throws java.lang.IllegalArgumentException
This version calls the protected method to do the work and if its not found throws an exception.

queryElementType

public QName queryElementType(java.lang.Class javaType,
                              java.lang.String encodingStyleURI)
                       throws java.lang.IllegalArgumentException
This version calls the protected method to do the work and if its not found throws an exception.

queryJavaType

public java.lang.Class queryJavaType(QName elementType,
                                     java.lang.String encodingStyleURI)
                              throws java.lang.IllegalArgumentException
This version calls the protected method to do the work and if its not found throws an exception.

marshall

public void marshall(java.lang.String inScopeEncStyle,
                     java.lang.Class javaType,
                     java.lang.Object src,
                     java.lang.Object context,
                     java.io.Writer sink,
                     NSStack nsStack,
                     SOAPContext ctx)
              throws java.lang.IllegalArgumentException,
                     java.io.IOException

unmarshall

public Bean unmarshall(java.lang.String inScopeEncStyle,
                       QName elementType,
                       org.w3c.dom.Node src,
                       SOAPContext ctx)
                throws java.lang.IllegalArgumentException