
/**
 * 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.wso2.carbon.viewflows.stub.types;
        
            /**
            *  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://viewflows.carbon.wso2.org/xsd".equals(namespaceURI) &&
                  "HandlerData".equals(typeName)){
                   
                            return  org.wso2.carbon.viewflows.stub.types.HandlerData.Factory.parse(reader);
                        

                  }

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

                  }

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

                  }

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

                  }

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

        }
    