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:
org.xml.sax.ContentHandler
,org.xml.sax.DTDHandler
,org.xml.sax.EntityResolver
,org.xml.sax.ErrorHandler
public class ProcessesXmlParse extends DeploymentMetadataParse
Parse
object for theprocesses.xml
file.This class is NOT Threadsafe
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessesXml
processesXml
the constructed ProcessXml-
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 ProcessesXmlParse(Parser parser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessesXmlParse
execute()
ProcessesXml
getProcessesXml()
protected void
parseProcessArchive(Element element, java.util.List<ProcessArchiveXml> parsedProcessArchives)
parse a<process-archive .../>
element and add it to the list of parsed elementsprotected void
parseRootElement()
we know this is a<process-application ...
ProcessesXmlParse
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
-
processesXml
protected ProcessesXml processesXml
the constructed ProcessXml
-
-
Constructor Detail
-
ProcessesXmlParse
public ProcessesXmlParse(Parser parser)
-
-
Method Detail
-
execute
public ProcessesXmlParse execute()
- Overrides:
execute
in classDeploymentMetadataParse
-
parseRootElement
protected void parseRootElement()
we know this is a<process-application ... />
structure.- Specified by:
parseRootElement
in classDeploymentMetadataParse
-
parseProcessArchive
protected void parseProcessArchive(Element element, java.util.List<ProcessArchiveXml> parsedProcessArchives)
parse a<process-archive .../>
element and add it to the list of parsed elements
-
getProcessesXml
public ProcessesXml getProcessesXml()
-
sourceUrl
public ProcessesXmlParse sourceUrl(java.net.URL url)
-
-