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
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final EngineUtilLoggerprotected Stringprotected Parserprotected Elementprotected Stringprotected StreamSourceprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidaddError(BpmnParseException e, String elementId) voidvoidaddWarning(String errorMessage, Element element) voidaddWarning(String errorMessage, Element element, String... elementIds) voidexecute()booleanbooleanvoidprotected StringvoidsetSchemaResource(String schemaResource) protected voidsetStreamSource(StreamSource streamSource) sourceInputStream(InputStream inputStream) sourceResource(String resource) sourceResource(String resource, ClassLoader classLoader) sourceString(String string) voidMethods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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()
-