Package com.catify.processengine.core.processdefinition.jaxb

Examples of com.catify.processengine.core.processdefinition.jaxb.TRootElement


  public void initializeProcessDefinition(String clientId,
      TDefinitions definition) {
    for (Iterator<JAXBElement<? extends TRootElement>> iterator = definition
        .getRootElement().iterator(); iterator.hasNext();) {

      TRootElement rootElement = iterator.next().getValue();
      TProcess process = null;

      if (rootElement.getClass().equals(TProcess.class)) {
        process = (TProcess) rootElement;
        this.initializeProcess(clientId, process);
      }
    }
  }
View Full Code Here


   
    // extract the process from the element
    for (Iterator<JAXBElement<? extends TRootElement>> iterator = definition
        .getRootElement().iterator(); iterator.hasNext();) {

      TRootElement rootElement = iterator.next().getValue();

      if (rootElement.getClass().equals(TProcess.class)) {
        process_jaxb = (TProcess) rootElement;
        processList.add(process_jaxb);
      }
    }
   
View Full Code Here

TOP

Related Classes of com.catify.processengine.core.processdefinition.jaxb.TRootElement

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.