org.camunda.bpm.container.impl.metadata
Class BpmPlatformXmlParse

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.camunda.bpm.engine.impl.util.xml.Parse
          extended by org.camunda.bpm.container.impl.metadata.DeploymentMetadataParse
              extended by org.camunda.bpm.container.impl.metadata.BpmPlatformXmlParse
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class BpmPlatformXmlParse
extends DeploymentMetadataParse

Parse implementation for parsing the BpmPlatformXml

Author:
Daniel Meyer

Field Summary
protected  BpmPlatformXml bpmPlatformXml
          the parsed BpmPlatformXml
 
Fields inherited from class org.camunda.bpm.engine.impl.util.xml.Parse
errors, name, parser, rootElement, schemaResource, streamSource, warnings
 
Constructor Summary
BpmPlatformXmlParse(Parser parser)
           
 
Method Summary
 BpmPlatformXmlParse execute()
           
 BpmPlatformXml getBpmPlatformXml()
           
protected  void parseJobAcquisition(Element element, List<JobAcquisitionXml> jobAcquisitions)
          parse a <job-acquisition .../> element and add it to the list of parsed elements
protected  void parseJobExecutor(Element element, JobExecutorXmlImpl jobExecutorXml)
          parse a <job-executor .../> element and add it to the list of parsed elements
protected  void parseRootElement()
          We know this is a <bpm-platform ../> element
 BpmPlatformXmlParse sourceUrl(URL url)
           
 
Methods inherited from class org.camunda.bpm.container.impl.metadata.DeploymentMetadataParse
parseProcessEngine, parseProcessEnginePlugin, parseProcessEnginePlugins, parseProperties
 
Methods inherited from class org.camunda.bpm.engine.impl.util.xml.Parse
addError, addError, addError, addWarning, addWarning, getProblems, getRootElement, hasErrors, hasWarnings, logWarnings, name, setSchemaResource, setStreamSource, sourceInputStream, sourceResource, sourceResource, sourceString, sourceUrl, throwExceptionForErrors
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bpmPlatformXml

protected BpmPlatformXml bpmPlatformXml
the parsed BpmPlatformXml

Constructor Detail

BpmPlatformXmlParse

public BpmPlatformXmlParse(Parser parser)
Method Detail

execute

public BpmPlatformXmlParse execute()
Overrides:
execute in class DeploymentMetadataParse

parseRootElement

protected void parseRootElement()
We know this is a <bpm-platform ../> element

Specified by:
parseRootElement in class DeploymentMetadataParse

parseJobExecutor

protected void parseJobExecutor(Element element,
                                JobExecutorXmlImpl jobExecutorXml)
parse a <job-executor .../> element and add it to the list of parsed elements


parseJobAcquisition

protected void parseJobAcquisition(Element element,
                                   List<JobAcquisitionXml> jobAcquisitions)
parse a <job-acquisition .../> element and add it to the list of parsed elements


getBpmPlatformXml

public BpmPlatformXml getBpmPlatformXml()

sourceUrl

public BpmPlatformXmlParse sourceUrl(URL url)
Overrides:
sourceUrl in class Parse


Copyright © 2017 camunda services GmbH. All rights reserved.