Package org.apache.airavata.schemas.wec

Examples of org.apache.airavata.schemas.wec.ContextHeaderDocument.xmlText()


    public WorkflowContextHeaderBuilder(ContextHeaderDocument.ContextHeader document){
      ContextHeaderDocument parse = null;
    try {
      ContextHeaderDocument doc = ContextHeaderDocument.Factory.newInstance();
      doc.setContextHeader(document);
      parse = ContextHeaderDocument.Factory.parse(doc.xmlText());
    } catch (XmlException e) {
      e.printStackTrace();
    }
        this.contextHeader = parse.getContextHeader();
        if (contextHeader!=null) {
View Full Code Here


        return workflowMonitoringContext;
    }

    public XmlElement getXml() {
        ContextHeaderDocument document = getDocument();
        return XMLUtil.stringToXmlElement3(document.xmlText());
    }

  private ContextHeaderDocument getDocument() {
    ContextHeaderDocument document = ContextHeaderDocument.Factory.newInstance();
        if (this.workflowMonitoringContext != null) {
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.