|
| | Parser () |
| |
| | Parser (final boolean validateFlag) |
| |
| Document | makeDocument (final URL url, final EntityResolver resolver) throws SAXException, IOException, ParserConfigurationException |
| |
|
| static Document | makeDocument (final URL in, final URL xslt, final EntityResolver resolver) |
| |
DOM Parser
- Author
- Bernard Bou
◆ Parser() [1/2]
| grammarscope.io.xml.Parser.Parser |
( |
| ) |
|
◆ Parser() [2/2]
| grammarscope.io.xml.Parser.Parser |
( |
final boolean |
validateFlag | ) |
|
Constructor
- Parameters
-
| validateFlag | validate flag |
◆ makeDocument() [1/2]
| static Document grammarscope.io.xml.Parser.makeDocument |
( |
final URL |
in, |
|
|
final URL |
xslt, |
|
|
final EntityResolver |
resolver |
|
) |
| |
|
static |
Document
- Parameters
-
| in | in data url |
| xslt | xslt url |
| resolver | entity resolver, null if none |
- Returns
- DOM document
◆ makeDocument() [2/2]
| Document grammarscope.io.xml.Parser.makeDocument |
( |
final URL |
url, |
|
|
final EntityResolver |
resolver |
|
) |
| throws SAXException, IOException, ParserConfigurationException |
Make document
- Parameters
-
| url | in data url |
| resolver | entity resolver |
- Returns
- DOM document
- Exceptions
-
| IOException | exception |
| SAXException | exception |
| ParserConfigurationException | exception |
◆ makeDocumentBuilder()
| DocumentBuilder grammarscope.io.xml.Parser.makeDocumentBuilder |
( |
| ) |
throws ParserConfigurationException |
|
private |
Make Document builder
- Returns
- document builder
- Exceptions
-
| ParserConfigurationException | exception |
◆ validate
| final boolean grammarscope.io.xml.Parser.validate |
|
protected |
The documentation for this class was generated from the following file:
- grammarscope/library/src/main/java/grammarscope/io/xml/Parser.java