Class 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 Detail

      • JenaSink

        public JenaSink​(OdfFileDom mFileDom)
    • Method Detail

      • start

        public void start()
        Specified by:
        start in interface net.rootdev.javardfa.StatementSink
      • end

        public void end()
        Specified by:
        end in interface net.rootdev.javardfa.StatementSink
      • addObject

        public void addObject​(String subject,
                              String predicate,
                              String object)
        Specified by:
        addObject in interface net.rootdev.javardfa.StatementSink
      • addLiteral

        public void addLiteral​(String subject,
                               String predicate,
                               String lex,
                               String lang,
                               String datatype)
        Specified by:
        addLiteral in interface net.rootdev.javardfa.StatementSink
      • addPrefix

        public void addPrefix​(String prefix,
                              String uri)
        Specified by:
        addPrefix in interface net.rootdev.javardfa.StatementSink
      • setBase

        public void setBase​(String base)
        Specified by:
        setBase in interface net.rootdev.javardfa.StatementSink
      • getContextNode

        public Node getContextNode()
      • setContextNode

        public void setContextNode​(Node contextNode)
      • 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)