public abstract class Parse extends org.xml.sax.helpers.DefaultHandler
Type | Property and Description |
---|---|
protected String |
resolveAccessExternalSchema |
Modifier and Type | Field and Description |
---|---|
protected List<Problem> |
errors |
protected static String |
JAXP_ACCESS_EXTERNAL_SCHEMA |
protected static String |
JAXP_ACCESS_EXTERNAL_SCHEMA_ALL |
protected static String |
JAXP_ACCESS_EXTERNAL_SCHEMA_SYSTEM_PROPERTY |
protected static String |
JAXP_SCHEMA_LANGUAGE |
protected static String |
JAXP_SCHEMA_SOURCE |
protected static EngineUtilLogger |
LOG |
protected String |
name |
protected Parser |
parser |
protected Element |
rootElement |
protected String |
schemaResource |
protected StreamSource |
streamSource |
protected static String |
W3C_XML_SCHEMA |
protected List<Problem> |
warnings |
Modifier and Type | Method and Description |
---|---|
void |
addError(BpmnParseException e) |
void |
addError(SAXParseException e) |
void |
addError(String errorMessage,
Element element) |
void |
addWarning(SAXParseException e) |
void |
addWarning(String errorMessage,
Element element) |
Parse |
execute() |
List<Problem> |
getProblems() |
Element |
getRootElement() |
boolean |
hasErrors() |
boolean |
hasWarnings() |
void |
logWarnings() |
Parse |
name(String name) |
protected String |
resolveAccessExternalSchemaProperty() |
void |
setSchemaResource(String schemaResource) |
protected void |
setStreamSource(StreamSource streamSource) |
Parse |
sourceInputStream(InputStream inputStream) |
Parse |
sourceResource(String resource) |
Parse |
sourceResource(String resource,
ClassLoader classLoader) |
Parse |
sourceString(String string) |
Parse |
sourceUrl(String url) |
Parse |
sourceUrl(URL url) |
void |
throwExceptionForErrors() |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
protected String resolveAccessExternalSchemaProperty
protected static final EngineUtilLogger LOG
protected static final String JAXP_SCHEMA_SOURCE
protected static final String JAXP_SCHEMA_LANGUAGE
protected static final String W3C_XML_SCHEMA
protected static final String JAXP_ACCESS_EXTERNAL_SCHEMA
protected static final String JAXP_ACCESS_EXTERNAL_SCHEMA_SYSTEM_PROPERTY
protected static final String JAXP_ACCESS_EXTERNAL_SCHEMA_ALL
protected Parser parser
protected String name
protected StreamSource streamSource
protected Element rootElement
protected String schemaResource
public Parse(Parser parser)
public Parse sourceInputStream(InputStream inputStream)
public Parse sourceResource(String resource, ClassLoader classLoader)
protected void setStreamSource(StreamSource streamSource)
public void setSchemaResource(String schemaResource)
public Parse execute()
protected String resolveAccessExternalSchemaProperty()
public Element getRootElement()
public void addError(SAXParseException e)
public void addError(BpmnParseException e)
public boolean hasErrors()
public void addWarning(SAXParseException e)
public boolean hasWarnings()
public void logWarnings()
public void throwExceptionForErrors()
Copyright © 2022. All rights reserved.