FileDocCategorySizeDatePackage
BetterSOAPMappingRegistry.javaAPI DocExample1020Tue Jan 15 11:26:26 GMT 2002javasoap.book.ch6

BetterSOAPMappingRegistry

public class BetterSOAPMappingRegistry extends org.apache.soap.encoding.SOAPMappingRegistry

Fields Summary
SparseArraySerializer
sparseSer
Constructors Summary
public BetterSOAPMappingRegistry()

     
      super();
   
Methods Summary
public SerializerquerySerializer(java.lang.Class javaType, java.lang.String encodingStyleURI)

    
     Serializer s;
     try {
        s = super.querySerializer(javaType, encodingStyleURI);
        if (s instanceof ArraySerializer)
          return sparseSer;
     }
     catch (IllegalArgumentException e) {
        if (javaType != null
         && encodingStyleURI != null
         && encodingStyleURI.equals(Constants.NS_URI_SOAP_ENC)) {
            if (javaType.isArray()) {
              return sparseSer;
            }
        }
        throw e;
     }
     return s;