Interface RDF4JIRI

All Superinterfaces:
org.apache.commons.rdf.api.BlankNodeOrIRI, org.apache.commons.rdf.api.IRI, RDF4JBlankNodeOrIRI, RDF4JTerm, org.apache.commons.rdf.api.RDFTerm

public interface RDF4JIRI extends RDF4JBlankNodeOrIRI, org.apache.commons.rdf.api.IRI
Marker interface for RDF4J implementations of Commons RDF IRI.

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

See Also:
  • Method Summary

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

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

    equals, getIRIString, hashCode

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

    ntriplesString
  • Method Details

    • asValue

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