Class ProcessesXmlParse
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.application.impl.metadata.ProcessesXmlParse
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
Parse
object for the processes.xml
file.
This class is NOT Threadsafe
- Author:
- Daniel Meyer
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionexecute()
protected void
parseProcessArchive
(Element element, List<ProcessArchiveXml> parsedProcessArchives) parse a<process-archive .../>
element and add it to the list of parsed elementsprotected void
we know this is a<process-application ...
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
processesXml
the constructed ProcessXml
-
-
Constructor Details
-
ProcessesXmlParse
-
-
Method Details
-
execute
- Overrides:
execute
in classDeploymentMetadataParse
-
parseRootElement
protected void parseRootElement()we know this is a<process-application ... />
structure.- Specified by:
parseRootElement
in classDeploymentMetadataParse
-
parseProcessArchive
parse a<process-archive .../>
element and add it to the list of parsed elements -
getProcessesXml
-
sourceUrl
-