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
public abstract class DeploymentMetadataParse extends Parse
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
Constructors Constructor Description DeploymentMetadataParse(Parser parser)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Parse
execute()
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
parseRootElement()
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
-
-
-
-
Constructor Detail
-
DeploymentMetadataParse
public DeploymentMetadataParse(Parser parser)
-
-
Method Detail
-
parseRootElement
protected abstract void parseRootElement()
to be overridden by subclasses.
-
parseProcessEngine
protected void parseProcessEngine(Element element, List<ProcessEngineXml> parsedProcessEngines)
parse a<process-engine .../>
element and add it to the list of parsed elements
-
parseProcessEnginePlugins
protected void parseProcessEnginePlugins(Element element, List<ProcessEnginePluginXml> plugins)
Transform a<plugins ... />
structure.
-
parseProcessEnginePlugin
protected void parseProcessEnginePlugin(Element element, List<ProcessEnginePluginXml> plugins)
Transform a<plugin ... />
structure.
-
-