
/**
 * ExtensionMapper.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis2 version: 1.6.1-wso2v28  Built on : Sep 03, 2018 (03:05:36 UTC)
 */

        
            package org.wso2.carbon.deployment.synchronizer.stub.types.util;
        
            /**
            *  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://util.internal.synchronizer.deployment.carbon.wso2.org/xsd".equals(namespaceURI) &&
                  "DeploymentSynchronizerConfiguration".equals(typeName)){
                   
                            return  org.wso2.carbon.deployment.synchronizer.stub.types.util.DeploymentSynchronizerConfiguration.Factory.parse(reader);
                        

                  }

              
                  if (
                  "http://synchronizer.deployment.carbon.wso2.org/xsd".equals(namespaceURI) &&
                  "DeploymentSynchronizerException".equals(typeName)){
                   
                            return  org.wso2.carbon.deployment.synchronizer.stub.types.DeploymentSynchronizerException.Factory.parse(reader);
                        

                  }

              
                  if (
                  "http://util.internal.synchronizer.deployment.carbon.wso2.org/xsd".equals(namespaceURI) &&
                  "RepositoryConfigParameter".equals(typeName)){
                   
                            return  org.wso2.carbon.deployment.synchronizer.stub.types.util.RepositoryConfigParameter.Factory.parse(reader);
                        

                  }

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

        }
    