java.lang.Object
org.operaton.bpm.engine.impl.util.xml.Parser
Direct Known Subclasses:
BpmnParser, BpmPlatformXmlParser, ProcessesXmlParser

public abstract class Parser extends Object
Author:
Tom Baeyens
  • Field Details

  • Constructor Details

    • Parser

      public Parser()
  • Method Details

    • createParse

      public abstract Parse createParse()
    • getSaxParser

      protected SAXParser getSaxParser(@Nullable String schemaResource) throws ParserConfigurationException, SAXException
      Throws:
      ParserConfigurationException
      SAXException
    • createSaxParserFactory

      protected SAXParserFactory createSaxParserFactory(@Nullable String schemaResource, boolean xxeProcessing)
      Creates a factory configured once for the given schema resource. When no schema resource is given the factory is neither validating nor namespace aware, which reproduces the behaviour of enableSchemaValidation(false).
    • getSchema

      protected Schema getSchema(String schemaResource)
    • resolveAccessExternalSchemaProperty

      protected static String resolveAccessExternalSchemaProperty()
    • setXxeProcessing

      protected void setXxeProcessing(SAXParserFactory saxParserFactory, boolean enableXxeProcessing)
    • isEnableXxeProcessing

      public Boolean isEnableXxeProcessing()