Class RdfCollector

  • All Implemented Interfaces:
    org.openrdf.rio.RDFHandler
    Direct Known Subclasses:
    QualifiedCollector

    public class RdfCollector
    extends org.openrdf.rio.helpers.RDFHandlerBase
    • Method Detail

      • isBNodeReferenced

        protected boolean isBNodeReferenced​(org.openrdf.model.BNode object)
      • convertResourceToQualifiedName

        protected QualifiedName convertResourceToQualifiedName​(org.openrdf.model.Resource resource)
      • valueToObject

        protected Object valueToObject​(org.openrdf.model.Value value)
      • valueToKey

        protected Key valueToKey​(org.openrdf.model.Value value)
      • decodeLiteral

        protected Object decodeLiteral​(org.openrdf.model.Literal literal)
      • buildGraph

        protected void buildGraph()
      • buildBundles

        protected void buildBundles()
      • convertURIToQualifiedName

        protected QualifiedName convertURIToQualifiedName​(org.openrdf.model.URI uri)
      • newAttributeForValue

        public Attribute newAttributeForValue​(org.openrdf.model.Value obj,
                                              QualifiedName type)
      • getDocument

        public Document getDocument()
      • handleNamespace

        public void handleNamespace​(String prefix,
                                    String namespace)
        RDFHandlerBase overrides
        Specified by:
        handleNamespace in interface org.openrdf.rio.RDFHandler
        Overrides:
        handleNamespace in class org.openrdf.rio.helpers.AbstractRDFHandler
      • bnodeToQualifiedName

        protected QualifiedName bnodeToQualifiedName​(org.openrdf.model.BNode bnode)
      • bnodeToQualifiedName

        protected QualifiedName bnodeToQualifiedName​(org.openrdf.model.impl.SimpleBNode bnode)
      • handleStatement

        public void handleStatement​(org.openrdf.model.Statement statement)
        Specified by:
        handleStatement in interface org.openrdf.rio.RDFHandler
        Overrides:
        handleStatement in class org.openrdf.rio.helpers.AbstractRDFHandler
      • endRDF

        public void endRDF()
        Specified by:
        endRDF in interface org.openrdf.rio.RDFHandler
        Overrides:
        endRDF in class org.openrdf.rio.helpers.AbstractRDFHandler