Class SAXParsers

java.lang.Object
org.semanticweb.owlapi.util.SAXParsers

public final class SAXParsers extends Object
Since:
4.0.0
Author:
ignazio
  • Method Details

    • initFactory

      public static SAXParserFactory initFactory()
      Returns:
      a new factory, set up to be namespace aware, non validating and not loading external dtds.
    • initParserWithOWLAPIStandards

      public static SAXParser initParserWithOWLAPIStandards(@Nullable DeclHandler handler, String expansion)
      Parameters:
      handler - declaration handler, optional. Used for entity detection for reuse in parser output.
      expansion - entity expansion limit. See ConfigurationOptions for instructions on how to set the value.
      Returns:
      new SaxParser, initialized with optional declaration handler and larger entity expansion limit