public class Parse extends org.xml.sax.helpers.DefaultHandler
Type | Property and Description |
---|---|
protected String |
resolveAccessExternalSchema |
Modifier and Type | Field and Description |
---|---|
protected static String |
DISALLOW_DOCTYPE_DECL |
protected boolean |
enableXxeProcessing |
protected List<Problem> |
errors |
protected static String |
EXTERNAL_GENERAL_ENTITIES |
protected static String |
EXTERNAL_PARAMETER_ENTITIES |
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 String |
LOAD_EXTERNAL_DTD |
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 |
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 EXTERNAL_GENERAL_ENTITIES
protected static final String DISALLOW_DOCTYPE_DECL
protected static final String LOAD_EXTERNAL_DTD
protected static final String EXTERNAL_PARAMETER_ENTITIES
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
protected boolean enableXxeProcessing
public Parse(Parser parser)
public Parse sourceInputStream(InputStream inputStream)
public Parse sourceResource(String resource, ClassLoader classLoader)
protected void setStreamSource(StreamSource streamSource)
public void setEnableXxeProcessing(boolean enableXxeProcessing)
public Parse execute()
protected String resolveAccessExternalSchemaProperty()
public Element getRootElement()
public void addError(SAXParseException e)
public void addError(BpmnParseException e)
public void addError(BpmnParseException e, String elementId)
public boolean hasErrors()
public void addWarning(SAXParseException e)
public boolean hasWarnings()
public void logWarnings()
public void throwExceptionForErrors()
public void setSchemaResource(String schemaResource)
Copyright © 2022. All rights reserved.