Class Parse
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.camunda.bpm.engine.impl.util.xml.Parse
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Direct Known Subclasses:
BpmnParse
,DeploymentMetadataParse
- Author:
- Tom Baeyens
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final EngineUtilLogger
protected String
protected Parser
protected Element
protected String
protected StreamSource
protected static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
addError
(BpmnParseException e, String elementId) void
void
addWarning
(String errorMessage, Element element) void
addWarning
(String errorMessage, Element element, String... elementIds) void
execute()
boolean
boolean
void
protected String
void
setSchemaResource
(String schemaResource) protected void
setStreamSource
(StreamSource streamSource) sourceInputStream
(InputStream inputStream) sourceResource
(String resource) sourceResource
(String resource, ClassLoader classLoader) sourceString
(String string) void
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
-
LOG
-
JAXP_SCHEMA_SOURCE
- See Also:
-
JAXP_SCHEMA_LANGUAGE
- See Also:
-
W3C_XML_SCHEMA
- See Also:
-
JAXP_ACCESS_EXTERNAL_SCHEMA
- See Also:
-
JAXP_ACCESS_EXTERNAL_SCHEMA_SYSTEM_PROPERTY
- See Also:
-
JAXP_ACCESS_EXTERNAL_SCHEMA_ALL
- See Also:
-
parser
-
name
-
streamSource
-
rootElement
-
errors
-
warnings
-
schemaResource
-
-
Constructor Details
-
Parse
-
-
Method Details
-
name
-
sourceInputStream
-
sourceResource
-
sourceUrl
-
sourceUrl
-
sourceResource
-
sourceString
-
setStreamSource
-
setSchemaResource
-
execute
-
resolveAccessExternalSchemaProperty
-
getRootElement
-
getProblems
-
addError
-
addError
-
addError
-
addError
-
addError
-
hasErrors
public boolean hasErrors() -
addWarning
-
addWarning
-
addWarning
-
hasWarnings
public boolean hasWarnings() -
logWarnings
public void logWarnings() -
throwExceptionForErrors
public void throwExceptionForErrors()
-