Package org.odftoolkit.odfdom.pkg.rdfa
Class JenaSink
- java.lang.Object
-
- org.odftoolkit.odfdom.pkg.rdfa.JenaSink
-
- All Implemented Interfaces:
net.rootdev.javardfa.StatementSink
public class JenaSink extends Object implements net.rootdev.javardfa.StatementSink
To cache the Jena RDF triples parsed from RDFaParser
-
-
Constructor Summary
Constructors Constructor Description JenaSink(OdfFileDom mFileDom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLiteral(String subject, String predicate, String lex, String lang, String datatype)
void
addObject(String subject, String predicate, String object)
void
addPrefix(String prefix, String uri)
void
end()
org.odftoolkit.odfdom.pkg.rdfa.EvalContext
getContext()
Node
getContextNode()
URIExtractor
getExtractor()
void
setBase(String base)
void
setContext(org.odftoolkit.odfdom.pkg.rdfa.EvalContext context)
void
setContextNode(Node contextNode)
void
setExtractor(URIExtractor extractor)
void
start()
-
-
-
Constructor Detail
-
JenaSink
public JenaSink(OdfFileDom mFileDom)
-
-
Method Detail
-
start
public void start()
- Specified by:
start
in interfacenet.rootdev.javardfa.StatementSink
-
end
public void end()
- Specified by:
end
in interfacenet.rootdev.javardfa.StatementSink
-
addObject
public void addObject(String subject, String predicate, String object)
- Specified by:
addObject
in interfacenet.rootdev.javardfa.StatementSink
-
addLiteral
public void addLiteral(String subject, String predicate, String lex, String lang, String datatype)
- Specified by:
addLiteral
in interfacenet.rootdev.javardfa.StatementSink
-
addPrefix
public void addPrefix(String prefix, String uri)
- Specified by:
addPrefix
in interfacenet.rootdev.javardfa.StatementSink
-
setBase
public void setBase(String base)
- Specified by:
setBase
in interfacenet.rootdev.javardfa.StatementSink
-
getContextNode
public Node getContextNode()
-
setContextNode
public void setContextNode(Node contextNode)
-
getExtractor
public URIExtractor getExtractor()
-
setExtractor
public void setExtractor(URIExtractor extractor)
-
getContext
public org.odftoolkit.odfdom.pkg.rdfa.EvalContext getContext()
-
setContext
public void setContext(org.odftoolkit.odfdom.pkg.rdfa.EvalContext context)
-
-