|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rootdev.javardfa.query.QueryCollector
public class QueryCollector
Constructor Summary | |
---|---|
QueryCollector()
|
Method Summary | |
---|---|
void |
addLiteral(String arg0,
String arg1,
String arg2,
String arg3,
String arg4)
Add statement with a literal object. |
void |
addObject(String arg0,
String arg1,
String arg2)
Add statement with non-literal object. |
void |
addPrefix(String prefix,
String uri)
Add a prefix mapping. |
Query |
createQuery(List<Triple> triples)
|
void |
end()
Complete parsing |
Map<String,Query> |
getQueries()
|
void |
setBase(String base)
|
void |
start()
Begin parsing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryCollector()
Method Detail |
---|
public Map<String,Query> getQueries()
public void addLiteral(String arg0, String arg1, String arg2, String arg3, String arg4)
StatementSink
addLiteral
in interface StatementSink
arg0
- Subject of triplearg1
- Predicatearg2
- Lexical formarg3
- Language (may be null)arg4
- Datatype IRI (may be null)public void addObject(String arg0, String arg1, String arg2)
StatementSink
addObject
in interface StatementSink
arg0
- Subject of triplearg1
- Predicatearg2
- Objectpublic void end()
StatementSink
end
in interface StatementSink
public void start()
StatementSink
start
in interface StatementSink
public Query createQuery(List<Triple> triples)
public void addPrefix(String prefix, String uri)
StatementSink
addPrefix
in interface StatementSink
public void setBase(String base)
setBase
in interface StatementSink
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |