public class Parse extends org.xml.sax.helpers.DefaultHandler
Type | Property and Description |
---|---|
protected String |
resolveAccessExternalSchema |
Modifier and Type | Field and Description |
---|---|
protected boolean |
enableXxeProcessing |
protected List<Problem> |
errors |
protected String |
name |
protected Parser |
parser |
protected Element |
rootElement |
protected String |
schemaResource |
protected StreamSource |
streamSource |
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 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)
public Parse xxeProcessing(boolean enable)
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 © 2019. All rights reserved.