public class RDFPostReader
extends org.apache.jena.riot.ReaderRIOTBase
Modifier and Type | Field and Description |
---|---|
protected long |
currCol |
protected long |
currLine |
Constructor and Description |
---|
RDFPostReader() |
Modifier and Type | Method and Description |
---|---|
protected void |
directive(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter,
org.apache.jena.riot.system.ParserProfile profile,
org.apache.jena.riot.system.StreamRDF dest) |
protected void |
directiveBase(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter,
org.apache.jena.riot.system.ParserProfile profile,
org.apache.jena.riot.system.StreamRDF dest) |
protected void |
directiveNSDecl(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter,
org.apache.jena.riot.system.ParserProfile profile,
org.apache.jena.riot.system.StreamRDF dest) |
protected void |
emit(org.apache.jena.riot.system.ParserProfile profile,
org.apache.jena.riot.system.StreamRDF dest,
org.apache.jena.graph.Node subject,
org.apache.jena.graph.Node predicate,
org.apache.jena.graph.Node object) |
protected void |
emitBase(String baseStr,
org.apache.jena.riot.system.StreamRDF dest) |
protected void |
emitTriple(org.apache.jena.riot.system.ParserProfile profile,
org.apache.jena.riot.system.StreamRDF dest,
org.apache.jena.graph.Node subject,
org.apache.jena.graph.Node predicate,
org.apache.jena.graph.Node object) |
protected boolean |
eof(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter) |
protected void |
exception(org.apache.jena.riot.tokens.Token token,
String msg,
Object... args) |
protected void |
exceptionDirect(String msg,
long line,
long col) |
org.apache.jena.riot.system.ErrorHandler |
getErrorHandler() |
org.apache.jena.riot.system.ParserProfile |
getParserProfile() |
org.apache.jena.riot.tokens.Token |
lang(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter) |
protected boolean |
lookingAt(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter,
org.apache.jena.riot.tokens.TokenType tokenType) |
protected boolean |
moreTokens(org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter) |
protected org.apache.jena.riot.tokens.Token |
nextToken(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter) |
protected org.apache.jena.graph.Node |
node(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter,
org.apache.jena.riot.system.ParserProfile profile) |
protected org.apache.jena.graph.Node |
object(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter,
org.apache.jena.riot.system.ParserProfile profile,
org.apache.jena.graph.Node subject,
org.apache.jena.graph.Node predicate) |
protected void |
objectList(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter,
org.apache.jena.riot.system.ParserProfile profile,
org.apache.jena.riot.system.StreamRDF dest,
org.apache.jena.graph.Node subject,
org.apache.jena.graph.Node predicate) |
org.apache.jena.graph.Node |
objectLiteral(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter,
org.apache.jena.riot.system.ParserProfile profile) |
protected org.apache.jena.graph.Node |
objectNS(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter,
org.apache.jena.riot.system.ParserProfile profile) |
org.apache.jena.rdf.model.Model |
parse(List<String> k,
List<String> v) |
org.apache.jena.rdf.model.Model |
parse(String body,
String charsetName) |
protected org.apache.jena.riot.tokens.Token |
peekToken(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter) |
protected org.apache.jena.graph.Node |
predicate(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter,
org.apache.jena.riot.system.ParserProfile profile) |
protected org.apache.jena.graph.Node |
predicateNS(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter,
org.apache.jena.riot.system.ParserProfile profile) |
protected void |
predicateObjectItem(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter,
org.apache.jena.riot.system.ParserProfile profile,
org.apache.jena.riot.system.StreamRDF dest,
org.apache.jena.graph.Node subject) |
protected void |
predicateObjectList(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter,
org.apache.jena.riot.system.ParserProfile profile,
org.apache.jena.riot.system.StreamRDF dest,
org.apache.jena.graph.Node subject) |
protected void |
raiseException(org.apache.jena.riot.RiotParseException ex) |
void |
read(InputStream in,
String baseURI,
org.apache.jena.atlas.web.ContentType ct,
org.apache.jena.riot.system.StreamRDF output,
org.apache.jena.sparql.util.Context context) |
void |
read(InputStream in,
String baseURI,
org.apache.jena.riot.Lang lang,
org.apache.jena.riot.system.StreamRDF output,
org.apache.jena.sparql.util.Context context) |
void |
read(Reader in,
String baseURI,
org.apache.jena.atlas.web.ContentType ct,
org.apache.jena.riot.system.StreamRDF output,
org.apache.jena.sparql.util.Context context) |
void |
read(Reader in,
String baseURI,
org.apache.jena.riot.Lang lang,
org.apache.jena.riot.system.StreamRDF output,
org.apache.jena.sparql.util.Context context) |
protected void |
runParser(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.riot.system.ParserProfile profile,
org.apache.jena.riot.system.StreamRDF dest) |
void |
setErrorHandler(org.apache.jena.riot.system.ErrorHandler errorHandler) |
void |
setParserProfile(org.apache.jena.riot.system.ParserProfile parserProfile) |
boolean |
skipEmptyLiterals() |
protected void |
skipToSubject(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter) |
protected void |
skipToSubjectOrPredicate(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter) |
protected void |
skipToSubjectOrPredicateOrNonLiteralObject(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter) |
protected org.apache.jena.graph.Node |
tokenAsNode(org.apache.jena.riot.system.ParserProfile profile,
org.apache.jena.riot.tokens.Token token) |
protected void |
triples(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter,
org.apache.jena.riot.system.ParserProfile profile,
org.apache.jena.riot.system.StreamRDF dest) |
org.apache.jena.riot.tokens.Token |
type(org.apache.jena.riot.tokens.Tokenizer tokens,
org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter) |
public org.apache.jena.rdf.model.Model parse(String body, String charsetName) throws URISyntaxException
URISyntaxException
public org.apache.jena.rdf.model.Model parse(List<String> k, List<String> v) throws URISyntaxException
URISyntaxException
public boolean skipEmptyLiterals()
public void read(InputStream in, String baseURI, org.apache.jena.atlas.web.ContentType ct, org.apache.jena.riot.system.StreamRDF output, org.apache.jena.sparql.util.Context context)
read
in interface org.apache.jena.riot.ReaderRIOT
read
in class org.apache.jena.riot.ReaderRIOTBase
public void read(InputStream in, String baseURI, org.apache.jena.riot.Lang lang, org.apache.jena.riot.system.StreamRDF output, org.apache.jena.sparql.util.Context context)
read
in class org.apache.jena.riot.ReaderRIOTBase
public void read(Reader in, String baseURI, org.apache.jena.atlas.web.ContentType ct, org.apache.jena.riot.system.StreamRDF output, org.apache.jena.sparql.util.Context context)
public void read(Reader in, String baseURI, org.apache.jena.riot.Lang lang, org.apache.jena.riot.system.StreamRDF output, org.apache.jena.sparql.util.Context context)
protected void runParser(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.riot.system.ParserProfile profile, org.apache.jena.riot.system.StreamRDF dest)
protected final org.apache.jena.riot.tokens.Token peekToken(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter)
protected final boolean eof(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter)
protected final boolean moreTokens(org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter)
protected final boolean lookingAt(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter, org.apache.jena.riot.tokens.TokenType tokenType)
protected final org.apache.jena.riot.tokens.Token nextToken(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter)
protected final void directive(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter, org.apache.jena.riot.system.ParserProfile profile, org.apache.jena.riot.system.StreamRDF dest)
protected final void directiveBase(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter, org.apache.jena.riot.system.ParserProfile profile, org.apache.jena.riot.system.StreamRDF dest)
protected void emitBase(String baseStr, org.apache.jena.riot.system.StreamRDF dest)
protected final void directiveNSDecl(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter, org.apache.jena.riot.system.ParserProfile profile, org.apache.jena.riot.system.StreamRDF dest)
protected void triples(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter, org.apache.jena.riot.system.ParserProfile profile, org.apache.jena.riot.system.StreamRDF dest)
protected void predicateObjectList(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter, org.apache.jena.riot.system.ParserProfile profile, org.apache.jena.riot.system.StreamRDF dest, org.apache.jena.graph.Node subject)
protected void skipToSubject(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter)
protected void predicateObjectItem(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter, org.apache.jena.riot.system.ParserProfile profile, org.apache.jena.riot.system.StreamRDF dest, org.apache.jena.graph.Node subject)
protected org.apache.jena.graph.Node predicate(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter, org.apache.jena.riot.system.ParserProfile profile)
protected org.apache.jena.graph.Node predicateNS(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter, org.apache.jena.riot.system.ParserProfile profile)
protected final org.apache.jena.graph.Node node(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter, org.apache.jena.riot.system.ParserProfile profile)
protected final void objectList(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter, org.apache.jena.riot.system.ParserProfile profile, org.apache.jena.riot.system.StreamRDF dest, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate)
protected org.apache.jena.graph.Node object(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter, org.apache.jena.riot.system.ParserProfile profile, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate)
protected void skipToSubjectOrPredicate(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter)
public org.apache.jena.graph.Node objectLiteral(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter, org.apache.jena.riot.system.ParserProfile profile)
protected void skipToSubjectOrPredicateOrNonLiteralObject(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter)
public org.apache.jena.riot.tokens.Token type(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter)
public org.apache.jena.riot.tokens.Token lang(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter)
protected org.apache.jena.graph.Node objectNS(org.apache.jena.riot.tokens.Tokenizer tokens, org.apache.jena.atlas.iterator.PeekIterator<org.apache.jena.riot.tokens.Token> peekIter, org.apache.jena.riot.system.ParserProfile profile)
protected final void emitTriple(org.apache.jena.riot.system.ParserProfile profile, org.apache.jena.riot.system.StreamRDF dest, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object)
protected void emit(org.apache.jena.riot.system.ParserProfile profile, org.apache.jena.riot.system.StreamRDF dest, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object)
protected final org.apache.jena.graph.Node tokenAsNode(org.apache.jena.riot.system.ParserProfile profile, org.apache.jena.riot.tokens.Token token)
protected final void exception(org.apache.jena.riot.tokens.Token token, String msg, Object... args)
protected final void exceptionDirect(String msg, long line, long col)
protected final void raiseException(org.apache.jena.riot.RiotParseException ex)
public org.apache.jena.riot.system.ErrorHandler getErrorHandler()
public void setErrorHandler(org.apache.jena.riot.system.ErrorHandler errorHandler)
public org.apache.jena.riot.system.ParserProfile getParserProfile()
public void setParserProfile(org.apache.jena.riot.system.ParserProfile parserProfile)
Copyright © 2013–2019. All rights reserved.