Package org.apache.muse.tools.generator.util

Examples of org.apache.muse.tools.generator.util.ConfigurationData


  public Wsdl2Java(File wsdlFile, File descriptorFile, boolean overwrite) throws Exception {
    Document descriptorDocument = getDescriptorDocument(descriptorFile);
   
    Document[] wsdlDocuments = getWSDLDocuments(wsdlFile, descriptorFile, descriptorDocument);
   
    _configuration = new ConfigurationData();
    _configuration.addParameter(ConfigurationData.WSDL_DOCUMENT_LIST, wsdlDocuments);
    _configuration.addParameter(ConfigurationData.DESCRIPTOR_DOCUMENT, descriptorDocument);
    _configuration.addParameter(ConfigurationData.OVERWRITE, Boolean.valueOf(overwrite));
  }
View Full Code Here


   *       The current configuration.
   * @return
   *       A cloned configuration with our result added.
   */
  private ConfigurationData createResultData(ConfigurationData configuration) {
    ConfigurationData resultData = (ConfigurationData) configuration.clone();
    resultData.addParameter(ConfigurationData.CAPABILITIES_MAP_LIST, _capabilityMaps);
    return resultData;
  }
View Full Code Here

            String interfaceName = createInterface(wsdlDocuments[i]);
           
            filesMaps[i] = generate(interfaceName, inspector);           
        }
       
        ConfigurationData configuration = (ConfigurationData)data.clone();
        configuration.addParameter(ConfigurationData.FILES_MAP_LIST, filesMaps);
       
        return configuration;
  }
View Full Code Here

          generateCapability(capability, _filesMaps[i]);
        }
      }
    }
   
    ConfigurationData resultData = (ConfigurationData) configuration.clone();
    resultData.addParameter(ConfigurationData.FILES_MAP_LIST, _filesMaps);
   
    return resultData;
  }
View Full Code Here

   *       The current configuration.
   * @return
   *       A cloned configuration with our result added.
   */
  private ConfigurationData createResultData(ConfigurationData configuration) {
    ConfigurationData resultData = (ConfigurationData) configuration.clone();
    resultData.addParameter(ConfigurationData.CAPABILITIES_MAP_LIST, _capabilityMaps);
    return resultData;
  }
View Full Code Here

          generateCapability(capability, _filesMaps[i], _ignoreSets[i]);
        }
      }
    }
   
    ConfigurationData resultData = (ConfigurationData) configuration.clone();
    resultData.addParameter(ConfigurationData.FILES_MAP_LIST, _filesMaps);
    resultData.addParameter(ConfigurationData.IGNORE_SET_LIST, _ignoreSets);    
   
    return resultData;
  }
View Full Code Here

      env = new WsdlEnvironment(descriptorFile.getAbsoluteFile().getParentFile());
      wsdlDocuments = getWSDLDocuments(descriptorFile, descriptorDocument);
      metadataDescriptors = getMetadataDescriptors(descriptorFile, descriptorDocument);
    }
   
    _configuration = new ConfigurationData();
    _configuration.addParameter(ConfigurationData.WSDL_DOCUMENT_LIST, wsdlDocuments);
    _configuration.addParameter(ConfigurationData.DESCRIPTOR_DOCUMENT, descriptorDocument);
    _configuration.addParameter(ConfigurationData.OVERWRITE, Boolean.valueOf(overwrite));
    _configuration.addParameter(ConfigurationData.GENERATE_CUSTOM_HEADERS, Boolean.valueOf(generateCustomHeaders));
    _configuration.addParameter(ConfigurationData.TARGET_DIRECTORY, targetDirectory);
View Full Code Here

  public Wsdl2Java(File wsdlFile, File descriptorFile, boolean overwrite) throws Exception {
    Document descriptorDocument = getDescriptorDocument(descriptorFile);
   
    Document[] wsdlDocuments = getWSDLDocuments(wsdlFile, descriptorFile, descriptorDocument);
   
    _configuration = new ConfigurationData();
    _configuration.addParameter(ConfigurationData.WSDL_DOCUMENT_LIST, wsdlDocuments);
    _configuration.addParameter(ConfigurationData.DESCRIPTOR_DOCUMENT, descriptorDocument);
    _configuration.addParameter(ConfigurationData.OVERWRITE, Boolean.valueOf(overwrite));
  }
View Full Code Here

   *       The current configuration.
   * @return
   *       A cloned configuration with our result added.
   */
  private ConfigurationData createResultData(ConfigurationData configuration) {
    ConfigurationData resultData = (ConfigurationData) configuration.clone();
    resultData.addParameter(ConfigurationData.CAPABILITIES_MAP_LIST, _capabilityMaps);
    return resultData;
  }
View Full Code Here

          generateCapability(capability, _filesMaps[i]);
        }
      }
    }
   
    ConfigurationData resultData = (ConfigurationData) configuration.clone();
    resultData.addParameter(ConfigurationData.FILES_MAP_LIST, _filesMaps);
   
    resultData = SubscriptionManagerHelper.addSubscriptionManager(resultData);
   
    return resultData;
  }
View Full Code Here

TOP

Related Classes of org.apache.muse.tools.generator.util.ConfigurationData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.