Package org.semanticweb.owlapi.util
Class SAXParsers
java.lang.Object
org.semanticweb.owlapi.util.SAXParsers
- Since:
- 4.0.0
- Author:
- ignazio
-
Method Summary
Modifier and TypeMethodDescriptionstatic SAXParserFactory
static SAXParser
initParserWithOWLAPIStandards
(DeclHandler handler, String expansion)
-
Method Details
-
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. SeeConfigurationOptions
for instructions on how to set the value.- Returns:
- new SaxParser, initialized with optional declaration handler and larger entity expansion limit
-