
/**
 * ExtensionMapper.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis2 version: 1.6.1-wso2v51  Built on : May 13, 2020 (03:20:53 UTC)
 */

        
            package org.apache.commons.lang.exception.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://configuration.commons.apache.org/xsd".equals(namespaceURI) &&
                  "ConfigurationException".equals(typeName)){
                   
                            return  org.apache.commons.configuration.xsd.ConfigurationException.Factory.parse(reader);
                        

                  }

              
                  if (
                  "http://io.java/xsd".equals(namespaceURI) &&
                  "IOException".equals(typeName)){
                   
                            return  java.io.xsd.IOException.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://exception.lang.commons.apache.org/xsd".equals(namespaceURI) &&
                  "NestableException".equals(typeName)){
                   
                            return  org.apache.commons.lang.exception.xsd.NestableException.Factory.parse(reader);
                        

                  }

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

        }
    