
/**
 * ExtensionMapper.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis2 version: 1.6.1-wso2v16  Built on : Dec 03, 2015 (06:54:36 UTC)
 */

        
            package org.wso2.carbon.logging.service.xsd;
        
            /**
            *  ExtensionMapper class
            */
            @SuppressWarnings({"unchecked","unused"})
        
        public  class ExtensionMapper{

          public static java.lang.Object getTypeObject(java.lang.String namespaceURI,
                                                       java.lang.String typeName,
                                                       javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{

              
                  if (
                  "http://data.service.logging.carbon.wso2.org/xsd".equals(namespaceURI) &&
                  "AppenderData".equals(typeName)){
                   
                            return  org.wso2.carbon.logging.admin.stub.types.carbon.AppenderData.Factory.parse(reader);
                        

                  }

              
                  if (
                  "http://data.service.logging.carbon.wso2.org/xsd".equals(namespaceURI) &&
                  "SyslogData".equals(typeName)){
                   
                            return  org.wso2.carbon.logging.admin.stub.types.carbon.SyslogData.Factory.parse(reader);
                        

                  }

              
                  if (
                  "http://data.service.logging.carbon.wso2.org/xsd".equals(namespaceURI) &&
                  "LoggerData".equals(typeName)){
                   
                            return  org.wso2.carbon.logging.admin.stub.types.carbon.LoggerData.Factory.parse(reader);
                        

                  }

              
                  if (
                  "http://data.service.logging.carbon.wso2.org/xsd".equals(namespaceURI) &&
                  "LogData".equals(typeName)){
                   
                            return  org.wso2.carbon.logging.admin.stub.types.carbon.LogData.Factory.parse(reader);
                        

                  }

              
                  if (
                  "http://service.logging.carbon.wso2.org/xsd".equals(namespaceURI) &&
                  "LoggingAdminException".equals(typeName)){
                   
                            return  org.wso2.carbon.logging.service.xsd.LoggingAdminException.Factory.parse(reader);
                        

                  }

              
                  if (
                  "http://org.apache.axis2/xsd".equals(namespaceURI) &&
                  "Exception".equals(typeName)){
                   
                            return  org.wso2.carbon.logging.admin.stub.types.axis2.Exception.Factory.parse(reader);
                        

                  }

              
             throw new org.apache.axis2.databinding.ADBException("Unsupported type " + namespaceURI + " " + typeName);
          }

        }
    