public class ProcessesXmlParse extends DeploymentMetadataParse
Parse
object for the processes.xml
file.
This class is NOT Threadsafe
Modifier and Type | Field and Description |
---|---|
protected ProcessesXml |
processesXml
the constructed ProcessXml
|
errors, name, parser, rootElement, schemaResource, streamSource, warnings
Constructor and Description |
---|
ProcessesXmlParse(Parser parser) |
Modifier and Type | Method and Description |
---|---|
ProcessesXmlParse |
execute() |
ProcessesXml |
getProcessesXml() |
protected void |
parseProcessArchive(Element element,
List<ProcessArchiveXml> parsedProcessArchives)
parse a
<process-archive .../> element and add it to the list of parsed elements |
protected void |
parseRootElement()
we know this is a
<process-application ... |
ProcessesXmlParse |
sourceUrl(URL url) |
parseProcessEngine, parseProcessEnginePlugin, parseProcessEnginePlugins, parseProperties
addError, addError, addWarning, addWarning, getProblems, getRootElement, hasErrors, hasWarnings, logWarnings, name, setSchemaResource, setStreamSource, sourceInputStream, sourceResource, sourceResource, sourceString, sourceUrl, throwExceptionForErrors
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
protected ProcessesXml processesXml
public ProcessesXmlParse(Parser parser)
public ProcessesXmlParse execute()
execute
in class DeploymentMetadataParse
protected void parseRootElement()
<process-application ... />
structure.parseRootElement
in class DeploymentMetadataParse
protected void parseProcessArchive(Element element, List<ProcessArchiveXml> parsedProcessArchives)
<process-archive .../>
element and add it to the list of parsed elementspublic ProcessesXml getProcessesXml()
public ProcessesXmlParse sourceUrl(URL url)
Copyright © 2015. All rights reserved.