
/**
 * 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.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);
          }

        }
    