Package org.xmlpull.infoset

Examples of org.xmlpull.infoset.XmlElement.addChild()


        XmlElement configElement = nodeElement.addElement(GraphSchema.NS,
                GraphSchema.NODE_CONFIG_TAG);
        if (this.xpath != null) {
            XmlElement element = configElement.addElement(GraphSchema.NS,
                    XPATH_TAG_NAME);
            element.addChild(this.xpath.toString());
        }
        return configElement;
    }
}
View Full Code Here


        }
        if (e != null) {
            String stackTrace = StringUtil.getStackTraceInString(e);
            XmlElement stackTraceElement = XMLUtil.BUILDER
                    .newFragment("stackTrace");
            stackTraceElement.addChild(stackTrace);
            this.notifier.sendingFault(this.invocationContext, message, XMLUtil
                    .xmlElementToString(stackTraceElement));
        } else {
            this.notifier.sendingFault(this.invocationContext, message);
        }
View Full Code Here

    protected XmlElement addConfigurationElement(XmlElement nodeElement) {
        XmlElement configElement = super.addConfigurationElement(nodeElement);
        if (this.defaultValue != null) {
            XmlElement element = configElement.addElement(GraphSchema.NS,
                    VALUE_TAG_NAME);
            element.addChild(this.defaultValue);
        }
        return configElement;
    }

    /**
 
View Full Code Here

   
    XmlElement process = deploy.addElement(odeNs, PROCESS);
    process.setAttributeValue(NAME, PROCESS+":"+workflowName);
    //active
    XmlElement active = process.addElement(odeNs, "active");
    active.addChild("true");
   
    //provide
    XmlElement provide = process.addElement
    (odeNs, "provide");
    provide.setAttributeValue("partnerLink", "workflowUserPartner");
View Full Code Here

        XmlElement nodeElement = super.toXML();
        nodeElement.setAttributeValue(GraphSchema.NS,
                GraphSchema.NODE_TYPE_ATTRIBUTE, GraphSchema.NODE_TYPE_MEMO);
        XmlElement memoElement = nodeElement.addElement(GraphSchema.NS,
                GraphSchema.NODE_MEMO_TAG);
        memoElement.addChild(this.memo);
        return nodeElement;
    }

    /**
     * @see edu.indiana.extreme.xbaya.graph.impl.NodeImpl#parse(org.xmlpull.infoset.XmlElement)
View Full Code Here

   
    XmlElement whileElmt = BUILDER.newFragment(topSeq
        .getNamespace(), "while");
    whileElmt.setAttributeValue("name", "receiveLoop");
    XmlElement condition = whileElmt.addElement(topSeq.getNamespace(), "condition");
    condition.addChild("true()");
    XmlElement whileSeq = whileElmt.addElement(topSeq.getNamespace(), "sequence");
    whileSeq.setAttributeValue("name", "whileSeq");
   
    //copy element
    XmlElement assign = topSeq.element(count -1).clone();
View Full Code Here

        }
        if (e != null) {
            String stackTrace = StringUtil.getStackTraceInString(e);
            XmlElement stackTraceElement = XMLUtil.BUILDER
                    .newFragment("stackTrace");
            stackTraceElement.addChild(stackTrace);
            String annotation = XMLUtil.xmlElementToString(stackTraceElement);
            this.notifier.invokingServiceFailed(this.invocationContext, e,
                    message, annotation);
        } else {
            this.notifier
View Full Code Here

        XmlElement edgeXml = XMLUtil.BUILDER.newFragment(GraphSchema.NS,
                GraphSchema.EDGE_TAG);

        XmlElement fromEle = edgeXml.addElement(GraphSchema.NS,
                GraphSchema.EDGE_FROM_PORT_TAG);
        fromEle.addChild(this.fromPort.getID());

        XmlElement toEle = edgeXml.addElement(GraphSchema.NS,
                GraphSchema.EDGE_TO_PORT_TAG);
        toEle.addChild(this.toPort.getID());
View Full Code Here

                GraphSchema.EDGE_FROM_PORT_TAG);
        fromEle.addChild(this.fromPort.getID());

        XmlElement toEle = edgeXml.addElement(GraphSchema.NS,
                GraphSchema.EDGE_TO_PORT_TAG);
        toEle.addChild(this.toPort.getID());

        return edgeXml;
    }

  /**
 
View Full Code Here

    XmlNamespace bpelNS = BUILDER.newNamespace("bpel", "http://docs.oasis-open.org/wsbpel/2.0/process/executable");
    propertyAlias.setAttributeValue("messageType", tnsPrefix+":"+workflowInputMessage.getName());
    propertyAlias.setAttributeValue("part", "leadHeader");
    String corelationXpath = "/lc:experiment-id";
    XmlElement query = propertyAlias.addElement(bpelNS, "query");
    query.addChild(corelationXpath);

    corelationXpath = "/lc:experiment-id";
    propertyAlias = wsdl.xml().addElement(propns, "propertyAlias ");
    propertyAlias.setAttributeValue("propertyName", "tns:experiment-id");
    propertyAlias.setAttributeValue("messageType", tnsPrefix+":"+secondReceiveMessage.getName());
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.