Examples of xml()


Examples of org.gpel.model.GpelAssign.xml()

        if(last == null || !isAssign(last)){
          throw new XBayaRuntimeException("Assign activity not found for the Invoke "+next.xmlStringPretty());
        }
       
        GpelAssign assign = (GpelAssign)last;
        XmlNamespace ns = assign.xml().getNamespace();
       
        XmlElement container = XmlConstants.BUILDER.parseFragmentFromString("<dummyelement></dummyelement>");
       
       
        String portTypeattr = next.xml().attributeValue(PORT_TYPE_STR);
View Full Code Here

Examples of org.gpel.model.GpelAssignCopy.xml()

          to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(INPUT_VARIABLE_STR));
        }else{
          to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(VARIABLE_STR));
        }
        GpelAssignCopy newAssign = new GpelAssignCopy(ns, from, to);
        newAssign.xml().setAttributeValue(VALIDATE_STR, NO_STR);
        GpelAssign gpelAssign = new GpelAssign(ns, newAssign);
        list.add(gpelAssign);
       
      }
      last = next;
View Full Code Here

Examples of org.gpel.model.GpelAssignCopy.xml()

        // TODO is this ok?? what of the query language
        nodeIDTo.setQuery("/leadcntx:workflow-node-id");

        GpelAssignCopy nodeIDCopy = new GpelAssignCopy(ns, nodeIDFrom,
            nodeIDTo);
        nodeIDCopy.xml().setAttributeValue(KEEP_SRC_ELEMENT_NAME_STR, NO_STR);
        assign.addCopy(nodeIDCopy);

        GpelAssignCopyFrom timeStepFrom = new GpelAssignCopyFrom(ns);
        timeStepFrom.setLiteral(XmlConstants.BUILDER
            .parseFragmentFromString("<dummyelement>"
View Full Code Here

Examples of org.gpel.model.GpelAssignCopy.xml()

        // TODO is this ok?? what of the query language
        timeStepTo.setQuery("/leadcntx:workflow-time-step");

        GpelAssignCopy timeStepCopy = new GpelAssignCopy(ns,
            timeStepFrom, timeStepTo);
        timeStepCopy.xml()
            .setAttributeValue(KEEP_SRC_ELEMENT_NAME_STR, NO_STR);
        assign.addCopy(timeStepCopy);

      }
      last = next;
View Full Code Here

Examples of org.gpel.model.GpelAssignCopyFrom.xml()

        }

        // we are good and should add the header copy.
        XmlNamespace ns = last.xml().getNamespace();
        GpelAssignCopyFrom headerFrom = new GpelAssignCopyFrom(ns);
        headerFrom.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        headerFrom.xml().setAttributeValue(VARIABLE_STR, WORKFLOW_INPUT_STR);

        GpelAssignCopyTo headerTo = new GpelAssignCopyTo(ns);
        headerTo.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        headerTo.xml().setAttributeValue(VARIABLE_STR,
View Full Code Here

Examples of org.gpel.model.GpelAssignCopyFrom.xml()

        // we are good and should add the header copy.
        XmlNamespace ns = last.xml().getNamespace();
        GpelAssignCopyFrom headerFrom = new GpelAssignCopyFrom(ns);
        headerFrom.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        headerFrom.xml().setAttributeValue(VARIABLE_STR, WORKFLOW_INPUT_STR);

        GpelAssignCopyTo headerTo = new GpelAssignCopyTo(ns);
        headerTo.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        headerTo.xml().setAttributeValue(VARIABLE_STR,
            next.xml().attributeValue(INPUT_VARIABLE_STR));
View Full Code Here

Examples of org.gpel.model.GpelAssignCopyTo.xml()

        GpelAssignCopyFrom from = new GpelAssignCopyFrom(ns);
        from.setLiteral(container);
       
        GpelAssignCopyTo to = new GpelAssignCopyTo(ns);
        to.xml().setAttributeValue(PART_STR, messagePartName);
        if(isInvoke(next)){
          to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(INPUT_VARIABLE_STR));
        }else{
          to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(VARIABLE_STR));
        }
View Full Code Here

Examples of org.gpel.model.GpelAssignCopyTo.xml()

        from.setLiteral(container);
       
        GpelAssignCopyTo to = new GpelAssignCopyTo(ns);
        to.xml().setAttributeValue(PART_STR, messagePartName);
        if(isInvoke(next)){
          to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(INPUT_VARIABLE_STR));
        }else{
          to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(VARIABLE_STR));
        }
        GpelAssignCopy newAssign = new GpelAssignCopy(ns, from, to);
        newAssign.xml().setAttributeValue(VALIDATE_STR, NO_STR);
View Full Code Here

Examples of org.gpel.model.GpelAssignCopyTo.xml()

        GpelAssignCopyTo to = new GpelAssignCopyTo(ns);
        to.xml().setAttributeValue(PART_STR, messagePartName);
        if(isInvoke(next)){
          to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(INPUT_VARIABLE_STR));
        }else{
          to.xml().setAttributeValue(VARIABLE_STR, next.xml().attributeValue(VARIABLE_STR));
        }
        GpelAssignCopy newAssign = new GpelAssignCopy(ns, from, to);
        newAssign.xml().setAttributeValue(VALIDATE_STR, NO_STR);
        GpelAssign gpelAssign = new GpelAssign(ns, newAssign);
        list.add(gpelAssign);
View Full Code Here

Examples of org.gpel.model.GpelAssignCopyTo.xml()

        GpelAssignCopyFrom headerFrom = new GpelAssignCopyFrom(ns);
        headerFrom.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        headerFrom.xml().setAttributeValue(VARIABLE_STR, WORKFLOW_INPUT_STR);

        GpelAssignCopyTo headerTo = new GpelAssignCopyTo(ns);
        headerTo.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        headerTo.xml().setAttributeValue(VARIABLE_STR,
            next.xml().attributeValue(INPUT_VARIABLE_STR));
        GpelAssignCopy headerCopy = new GpelAssignCopy(ns, headerFrom,
            headerTo);
        GpelAssign assign = (GpelAssign) last;
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.