Examples of DescriptionBuilder


Examples of org.apache.axis2.deployment.DescriptionBuilder

    }

    private void buildServiceGroup(InputStream zin, DeploymentEngine engine,
                                   ServiceGroupDescription serviceGroupDesc)
            throws XMLStreamException, DeploymentException {
        DescriptionBuilder builder;
        String rootelementName;
        builder = new DescriptionBuilder(zin, engine);
        OMElement services = builder.buildOM();
        rootelementName = services.getLocalName();
        if(SERVICE_ELEMENT.equals(rootelementName)){
            ServiceDescription serviceDesc = engine.getCurrentFileItem().
                    getService(DescriptionBuilder.getShortFileName(
                            engine.getCurrentFileItem().getName()));
View Full Code Here

Examples of org.apache.axis2.deployment.DescriptionBuilder

    public ArrayList<AxisService> buildServiceGroup(InputStream zin, DeploymentFileData currentFile,
                                       AxisServiceGroup axisServiceGroup, HashMap<String, AxisService> wsdlServices,
                                       ConfigurationContext configCtx)
            throws XMLStreamException, AxisFault {

        DescriptionBuilder builder = new DescriptionBuilder(zin, configCtx);
        OMElement rootElement = builder.buildOM();
        String elementName = rootElement.getLocalName();

        if (TAG_SERVICE.equals(elementName)) {
            AxisService axisService = null;
            String serviceName = DescriptionBuilder.getShortFileName(currentFile.getName());
View Full Code Here

Examples of org.apache.axis2.deployment.DescriptionBuilder

        axisService.setClassLoader(deploymentFileData.getClassLoader());

        InputStream in = null;
        try {
            in = new FileInputStream(file);
            DescriptionBuilder builder = new DescriptionBuilder(in, configCtx);
            OMElement rootElement = builder.buildOM();
            String elementName = rootElement.getLocalName();
            if (TAG_SERVICE.equals(elementName)) {
                populateService(axisService, rootElement, file.getParent());
            } else {
                throw new AxisFault("Invalid " + deploymentFileData.getAbsolutePath() + " found");
View Full Code Here

Examples of org.apache.axis2.deployment.DescriptionBuilder

        axisService.setClassLoader(deploymentFileData.getClassLoader());

        InputStream in = null;
        try {
            in = new FileInputStream(file);
            DescriptionBuilder builder = new DescriptionBuilder(in, configCtx);
            OMElement rootElement = builder.buildOM();
            String elementName = rootElement.getLocalName();
            if (TAG_SERVICE.equals(elementName)) {
                populateService(axisService, rootElement, file.getParent());
            } else {
                throw new AxisFault("Invalid " + deploymentFileData.getAbsolutePath() + " found");
View Full Code Here

Examples of org.apache.axis2.deployment.DescriptionBuilder

    public ArrayList<AxisService> buildServiceGroup(InputStream zin, DeploymentFileData currentFile,
                                       AxisServiceGroup axisServiceGroup, HashMap<String, AxisService> wsdlServices,
                                       ConfigurationContext configCtx)
            throws XMLStreamException, AxisFault {

        DescriptionBuilder builder = new DescriptionBuilder(zin, configCtx);
        OMElement rootElement = builder.buildOM();
        String elementName = rootElement.getLocalName();

        if (TAG_SERVICE.equals(elementName)) {
            AxisService axisService = null;
            String serviceName = DescriptionBuilder.getShortFileName(currentFile.getName());
View Full Code Here

Examples of org.apache.axis2.deployment.DescriptionBuilder

    private ArrayList buildServiceGroup(InputStream zin, DeploymentEngine engine,
                                        AxisServiceGroup axisServiceGroup, HashMap wsdlServices,
                                        AxisConfiguration axisConfig)
            throws XMLStreamException, DeploymentException {
        DescriptionBuilder builder;
        String rootelementName;
        builder = new DescriptionBuilder(zin, axisConfig);
        OMElement services = builder.buildOM();
        rootelementName = services.getLocalName();
        if (SERVICE_ELEMENT.equals(rootelementName)) {
            AxisService axisService = engine.getCurrentFileItem().
                    getService(DescriptionBuilder.getShortFileName(
                            engine.getCurrentFileItem().getName()));
View Full Code Here

Examples of org.apache.axis2.deployment.DescriptionBuilder

    public ArrayList buildServiceGroup(InputStream zin, ArchiveFileData currentFile,
                                       AxisServiceGroup axisServiceGroup, HashMap wsdlServices,
                                       ConfigurationContext configCtx)
            throws XMLStreamException, AxisFault {

        DescriptionBuilder builder = new DescriptionBuilder(zin, configCtx);
        OMElement rootElement = builder.buildOM();
        String elementName = rootElement.getLocalName();

        if (TAG_SERVICE.equals(elementName)) {
            AxisService axisService = null;
            String serviceName = DescriptionBuilder.getShortFileName(currentFile.getName());
View Full Code Here

Examples of org.apache.axis2.deployment.DescriptionBuilder

    public ArrayList buildServiceGroup(InputStream zin, DeploymentFileData currentFile,
                                       AxisServiceGroup axisServiceGroup, HashMap wsdlServices,
                                       ConfigurationContext configCtx)
            throws XMLStreamException, AxisFault {

        DescriptionBuilder builder = new DescriptionBuilder(zin, configCtx);
        OMElement rootElement = builder.buildOM();
        String elementName = rootElement.getLocalName();

        if (TAG_SERVICE.equals(elementName)) {
            AxisService axisService = null;
            String serviceName = DescriptionBuilder.getShortFileName(currentFile.getName());
View Full Code Here

Examples of org.formulacompiler.compiler.internal.DescriptionBuilder

   *
   * @return cell or range name without $ symbols.
   */
  public String getShortName()
  {
    DescriptionBuilder description = new DescriptionBuilder();
    description.pushContext( DescribeShortStyle.getInstance() );
    describeTo( description );
    return description.toString();
  }
View Full Code Here

Examples of org.formulacompiler.compiler.internal.DescriptionBuilder

    }
  }

  public final String getContext( ExpressionNode _focusedNode )
  {
    final DescriptionBuilder builder = new DescriptionBuilder();
    buildContext( builder, _focusedNode );
    return builder.toString();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.