Class BpmPlatformXmlParse
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.camunda.bpm.engine.impl.util.xml.Parse
-
- org.camunda.bpm.container.impl.metadata.DeploymentMetadataParse
-
- org.camunda.bpm.container.impl.metadata.BpmPlatformXmlParse
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler
,org.xml.sax.DTDHandler
,org.xml.sax.EntityResolver
,org.xml.sax.ErrorHandler
public class BpmPlatformXmlParse extends DeploymentMetadataParse
Parse implementation for parsing the
BpmPlatformXml
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected BpmPlatformXml
bpmPlatformXml
the parsedBpmPlatformXml
-
Fields inherited from class org.camunda.bpm.engine.impl.util.xml.Parse
errors, JAXP_ACCESS_EXTERNAL_SCHEMA, JAXP_ACCESS_EXTERNAL_SCHEMA_ALL, JAXP_ACCESS_EXTERNAL_SCHEMA_SYSTEM_PROPERTY, JAXP_SCHEMA_LANGUAGE, JAXP_SCHEMA_SOURCE, name, parser, rootElement, schemaResource, streamSource, W3C_XML_SCHEMA, warnings
-
-
Constructor Summary
Constructors Constructor Description BpmPlatformXmlParse(Parser parser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BpmPlatformXmlParse
execute()
BpmPlatformXml
getBpmPlatformXml()
protected void
parseJobAcquisition(Element element, java.util.List<JobAcquisitionXml> jobAcquisitions)
parse a<job-acquisition .../>
element and add it to the list of parsed elementsprotected void
parseJobExecutor(Element element, JobExecutorXmlImpl jobExecutorXml)
parse a<job-executor .../>
element and add it to the list of parsed elementsprotected void
parseRootElement()
We know this is a<bpm-platform ../>
elementBpmPlatformXmlParse
sourceUrl(java.net.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, addError, addError, addWarning, addWarning, addWarning, getProblems, getRootElement, hasErrors, hasWarnings, logWarnings, name, resolveAccessExternalSchemaProperty, 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
-
-
-
-
Field Detail
-
bpmPlatformXml
protected BpmPlatformXml bpmPlatformXml
the parsedBpmPlatformXml
-
-
Constructor Detail
-
BpmPlatformXmlParse
public BpmPlatformXmlParse(Parser parser)
-
-
Method Detail
-
execute
public BpmPlatformXmlParse execute()
- Overrides:
execute
in classDeploymentMetadataParse
-
parseRootElement
protected void parseRootElement()
We know this is a<bpm-platform ../>
element- Specified by:
parseRootElement
in classDeploymentMetadataParse
-
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, java.util.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(java.net.URL url)
-
-