// !DO NOT EDIT THIS FILE!
// This source file is generated by Oracle tools
// Contents may be subject to change
// For reporting problems, use the following
// Version = Oracle WebServices (10.1.3.3.0, build 070610.1800.23513)

package xqueryws.proxy.runtime;

import oracle.j2ee.ws.client.BasicService;
import oracle.j2ee.ws.common.encoding.*;
import oracle.j2ee.ws.common.encoding.simpletype.*;
import oracle.j2ee.ws.common.encoding.soap.*;
import oracle.j2ee.ws.common.encoding.literal.*;
import oracle.j2ee.ws.common.soap.SOAPVersion;
import oracle.j2ee.ws.common.soap.SOAPEncodingConstants;
import oracle.j2ee.ws.common.wsdl.document.schema.SchemaConstants;
import javax.xml.rpc.*;
import javax.xml.rpc.encoding.*;
import javax.xml.namespace.QName;

public class ORAWSVService_SerializerRegistry extends SerializerRegistryBase implements SerializerConstants {
    public ORAWSVService_SerializerRegistry() {
    }
    
    public TypeMappingRegistry getRegistry() {
        TypeMappingRegistry registry = BasicService.createStandardTypeMappingRegistry();
        TypeMapping mapping11 = registry.getTypeMapping(SOAPEncodingConstants.getSOAPEncodingConstants(SOAPVersion.SOAP_11).getURIEncoding());
        TypeMapping mapping = registry.getTypeMapping("");
        {
            QName type = new QName("http://xmlns.oracle.com/orawsv", "queryOut");
            CombinedSerializer serializer = new LiteralFragmentSerializer(type, NULLABLE, false, QName.valueOf("{http://xmlns.oracle.com/orawsv}queryOut"), "",false);
            registerSerializer(mapping,javax.xml.soap.SOAPElement.class, type, serializer);
        }
        {
            QName type = new QName("http://xmlns.oracle.com/orawsv", "bindXML");
            CombinedSerializer serializer = new LiteralFragmentSerializer(type, NULLABLE, false, QName.valueOf("{http://xmlns.oracle.com/orawsv}bindXML"), "",false);
            registerSerializer(mapping,javax.xml.soap.SOAPElement.class, type, serializer);
        }
        {
            QName type = new QName("http://xmlns.oracle.com/orawsv", "bind");
            CombinedSerializer serializer = new xqueryws.proxy.runtime.Bind_LiteralSerializer(type, DONT_ENCODE_TYPE);
            registerSerializer(mapping,xqueryws.proxy.Bind.class, type, serializer);
        }
        {
            QName type = new QName("http://xmlns.oracle.com/orawsv", "bindObject");
            CombinedSerializer serializer = new LiteralFragmentSerializer(type, NULLABLE, false, QName.valueOf("{http://xmlns.oracle.com/orawsv}bindObject"), "",false);
            registerSerializer(mapping,javax.xml.soap.SOAPElement.class, type, serializer);
        }
        {
            QName type = new QName("http://xmlns.oracle.com/orawsv", "query_text-type");
            CombinedSerializer serializer = new LiteralSimpleTypeSerializer(type, 
                xqueryws.proxy.runtime.Query_textType_Encoder.getInstance());
            registerSerializer(mapping,xqueryws.proxy.Query_textType.class, type, serializer);
        }
        {
            QName type = new QName("http://xmlns.oracle.com/orawsv", "query_text");
            CombinedSerializer serializer = new xqueryws.proxy.runtime.Query_text_LiteralSerializer(type, DONT_ENCODE_TYPE);
            registerSerializer(mapping,xqueryws.proxy.Query_text.class, type, serializer);
        }
        {
            QName type = new QName("http://xmlns.oracle.com/orawsv", "query");
            CombinedSerializer serializer = new xqueryws.proxy.runtime.Query_LiteralSerializer(type, DONT_ENCODE_TYPE);
            registerSerializer(mapping,xqueryws.proxy.Query.class, type, serializer);
        }
        {
            QName type = new QName("http://xmlns.oracle.com/orawsv", "null_handling");
            CombinedSerializer serializer = new LiteralSimpleTypeSerializer(type, 
                xqueryws.proxy.runtime.Null_handling_Encoder.getInstance());
            registerSerializer(mapping,xqueryws.proxy.Null_handling.class, type, serializer);
        }
        xqueryws.proxy.runtime.ORAWSVService_SerializerRegistry12 internal12Registry = new xqueryws.proxy.runtime.ORAWSVService_SerializerRegistry12();
        return internal12Registry.getRegistry(registry);
    }
    
    private static void registerSerializer(TypeMapping mapping, Class javaType, QName xmlType,
        Serializer ser) {
        mapping.register(javaType, xmlType, new SingletonSerializerFactory(ser),
            new SingletonDeserializerFactory((Deserializer)ser));
    }
    
}
