Interface RDF4JBlankNodeOrIRI

All Superinterfaces:
org.apache.commons.rdf.api.BlankNodeOrIRI, RDF4JTerm, org.apache.commons.rdf.api.RDFTerm
All Known Subinterfaces:
RDF4JBlankNode, RDF4JIRI

public interface RDF4JBlankNodeOrIRI extends RDF4JTerm, org.apache.commons.rdf.api.BlankNodeOrIRI
Marker interface for RDF4J implementations of Commons RDF BlankNodeOrIRI (e.g. the subject of a Triple).

The underlying RDF4J Resource instance can be retrieved with asValue().

  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.rdf4j.model.Resource
    Return the RDF4J Value that this RDFTerm represents.

    Methods inherited from interface org.apache.commons.rdf.api.RDFTerm

    equals, hashCode, ntriplesString
  • Method Details

    • asValue

      org.eclipse.rdf4j.model.Resource asValue()
      Description copied from interface: RDF4JTerm
      Return the RDF4J Value that this RDFTerm represents.
      Specified by:
      asValue in interface RDF4JTerm
      Returns:
      The wrapped Value (e.g. a Literal, IRI or BNode.