public class ParserFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ParserFactory.Format |
| Constructor and Description |
|---|
ParserFactory() |
| Modifier and Type | Method and Description |
|---|---|
static XMLReader |
createHTML5Reader() |
static XMLReader |
createNonvalidatingReader() |
static XMLReader |
createReaderForFormat(StatementSink sink,
ParserFactory.Format format,
Resolver resolver,
Setting... settings)
Makes an XMLReader appropriate to the format, with an rdfa parser plumbed
to the StatementSink sink.
|
static XMLReader |
createReaderForFormat(StatementSink sink,
ParserFactory.Format format,
Setting... settings)
Makes an XMLReader appropriate to the format, with an rdfa parser plumbed
to the StatementSink sink.
|
public ParserFactory()
public static XMLReader createNonvalidatingReader() throws SAXException
SAXExceptionpublic static XMLReader createHTML5Reader()
public static XMLReader createReaderForFormat(StatementSink sink, ParserFactory.Format format, Setting... settings) throws SAXException
sink - format - SAXExceptionpublic static XMLReader createReaderForFormat(StatementSink sink, ParserFactory.Format format, Resolver resolver, Setting... settings) throws SAXException
sink - format - resolver - SAXExceptionCopyright © 2009–2020. All rights reserved.