Class DeploymentMetadataParse
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.camunda.bpm.engine.impl.util.xml.Parse
org.camunda.bpm.container.impl.metadata.DeploymentMetadataParse
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Direct Known Subclasses:
BpmPlatformXmlParse
,ProcessesXmlParse
Parse
implementation for Deployment Metadata.
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
parseProcessEngine
(Element element, List<ProcessEngineXml> parsedProcessEngines) parse a<process-engine .../>
element and add it to the list of parsed elementsprotected void
parseProcessEnginePlugin
(Element element, List<ProcessEnginePluginXml> plugins) Transform a<plugin ...
protected void
parseProcessEnginePlugins
(Element element, List<ProcessEnginePluginXml> plugins) Transform a<plugins ...
protected void
parseProperties
(Element element, Map<String, String> properties) Transform aprotected abstract void
to be overridden by subclasses.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, 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
-
Constructor Details
-
DeploymentMetadataParse
-
-
Method Details
-
execute
-
parseRootElement
protected abstract void parseRootElement()to be overridden by subclasses. -
parseProcessEngine
parse a<process-engine .../>
element and add it to the list of parsed elements -
parseProcessEnginePlugins
Transform a<plugins ... />
structure. -
parseProcessEnginePlugin
Transform a<plugin ... />
structure. -
parseProperties
Transform a<properties> <property name="name">value</property> </properties>
structure into a propertiesMap
Supports resolution of Ant-style placeholders against system properties.
-