All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.apache.soap.encoding.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.

Author:
Matthew J. Duftler (duftler@us.ibm.com), Sanjiva Weerawarana (sanjiva@watson.ibm.com), Francisco Curbera (curbera@us.ibm.com), Sam Ruby (rubys@us.ibm.com)

Constructor Index

 o SOAPMappingRegistry()

Method Index

 o queryElementType(Class, String)
This function overrides the one in XMLJavaMappingRegistry for the sole purpose of returning SOAP-ENC:Array when javaType represents an array.
 o querySerializer(Class, String)
This function overrides the one in XMLJavaMappingRegistry for the sole purpose of returning an ArraySerializer when javaType represents an array.

Constructors

 o SOAPMappingRegistry
 public SOAPMappingRegistry()

Methods

 o queryElementType
 public QName queryElementType(Class javaType,
                               String encodingStyleURI) throws IllegalArgumentException
This function overrides the one in XMLJavaMappingRegistry for the sole purpose of returning SOAP-ENC:Array when javaType represents an array. The XMLJavaMappingRegistry will be consulted first, and if no mapping is found, SOAP-ENC:Array is returned. Obviously, this only applies when the encoding style is soap encoding.

Overrides:
queryElementType in class XMLJavaMappingRegistry
 o querySerializer
 public Serializer querySerializer(Class javaType,
                                   String encodingStyleURI) throws IllegalArgumentException
This function overrides the one in XMLJavaMappingRegistry for the sole purpose of returning an ArraySerializer when javaType represents an array. The XMLJavaMappingRegistry will be consulted first, and if no serializer is found for javaType, ArraySerailizer is returned. Obviously, this only applies when the encoding style is soap encoding.

Overrides:
querySerializer in class XMLJavaMappingRegistry

All Packages  Class Hierarchy  This Package  Previous  Next  Index