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

public abstract class Parse extends DefaultHandler
Author:
Tom Baeyens
  • Field Details

  • Constructor Details

    • Parse

      public Parse(Parser parser)
  • Method Details

    • name

      public Parse name(String name)
    • sourceInputStream

      public Parse sourceInputStream(InputStream inputStream)
    • sourceResource

      public Parse sourceResource(String resource)
    • sourceUrl

      public Parse sourceUrl(URL url)
    • sourceUrl

      public Parse sourceUrl(String url)
    • sourceResource

      public Parse sourceResource(String resource, ClassLoader classLoader)
    • sourceString

      public Parse sourceString(String string)
    • setStreamSource

      protected void setStreamSource(StreamSource streamSource)
    • setSchemaResource

      public void setSchemaResource(String schemaResource)
    • execute

      public Parse execute()
    • resolveAccessExternalSchemaProperty

      protected String resolveAccessExternalSchemaProperty()
    • getRootElement

      public Element getRootElement()
    • getProblems

      public List<Problem> getProblems()
    • addError

      public void addError(SAXParseException e)
    • addError

      public void addError(String errorMessage, Element element)
    • addError

      public void addError(String errorMessage, Element element, String... elementIds)
    • addError

      public void addError(BpmnParseException e)
    • addError

      public void addError(BpmnParseException e, String elementId)
    • hasErrors

      public boolean hasErrors()
    • addWarning

      public void addWarning(SAXParseException e)
    • addWarning

      public void addWarning(String errorMessage, Element element)
    • addWarning

      public void addWarning(String errorMessage, Element element, String... elementIds)
    • hasWarnings

      public boolean hasWarnings()
    • logWarnings

      public void logWarnings()
    • throwExceptionForErrors

      public void throwExceptionForErrors()