public abstract class ClerezzaRDFaParser extends Object implements ParsingProvider
Constructor and Description |
---|
ClerezzaRDFaParser() |
Modifier and Type | Method and Description |
---|---|
protected abstract XMLReader |
getReader() |
protected void |
initParser(net.rootdev.javardfa.Parser parser)
subclasses may override this method to do some specific initialisation of parser
|
void |
parse(MGraph target,
InputStream in,
String formatIdentifier,
UriRef baseUri)
Parses a stream as the specified RDF-format.
|
public void parse(MGraph target, InputStream in, String formatIdentifier, UriRef baseUri)
ParsingProvider
formatIdentifier
matches
a SupportedFormat
annotation of the implementing class.parse
in interface ParsingProvider
target
- the mutable graph to which the read triples shall be addedin
- the stream from which the serialized graph is readformatIdentifier
- a String identifying the formatbaseUri
- the baseUri for interpreting relative uris, may be nullprotected abstract XMLReader getReader() throws SAXException
SAXException
protected void initParser(net.rootdev.javardfa.Parser parser)
parser
- Copyright © 2014 The Apache Software Foundation. All Rights Reserved.