protected void parseRootElement() {

    JobExecutorXmlImpl jobExecutor = new JobExecutorXmlImpl();
    List<ProcessEngineXml> processEngines = new ArrayList<ProcessEngineXml>();

    for (Element element : rootElement.elements()) {

      if(JOB_EXECUTOR.equals(element.getTagName())) {
        parseJobExecutor(element, jobExecutor);

      } else if(PROCESS_ENGINE.equals(element.getTagName())) {
        parseProcessEngine(element, processEngines);

      }

    }

    bpmPlatformXml = new BpmPlatformXmlImpl(jobExecutor, processEngines);
  }
protected void parseRootElement ( ) { JobExecutorXmlImpl jobExecutor = new JobExecutorXmlImpl ( ) ; List < ProcessEngineXml > processEngines = new ArrayList < ProcessEngineXml > ( ) ; for ( Element element : rootElement . elements ( ) ) { if ( JOB_EXECUTOR . equals ( element . getTagName ( ) ) ) { parseJobExecutor ( element , jobExecutor ) ; } else if ( PROCESS_ENGINE . equals ( element . getTagName ( ) ) ) { parseProcessEngine ( element , processEngines ) ; } } bpmPlatformXml = new BpmPlatformXmlImpl ( jobExecutor , processEngines ) ; }
We know this is a <code>&lt;bpm-platform ../&gt;</code> element