Package no.hasmac.rdf

Interface RdfTriple

All Known Subinterfaces:
RdfNQuad
All Known Implementing Classes:
RdfNQuadImpl, RdfTripleImpl

public interface RdfTriple
The RdfTriple interface describes an immutable RDF triple.
  • Method Summary

    Modifier and Type
    Method
    Description
    An absolute IRI or blank node identifier or RdfLiteral.
    An absolute IRI or blank node identifier denoting the predicate of the triple.
    An absolute IRI or blank node identifier denoting the subject of the triple.
  • Method Details

    • getSubject

      RdfResource getSubject()
      An absolute IRI or blank node identifier denoting the subject of the triple.
      Returns:
      an absolute URI or blank node
    • getPredicate

      RdfResource getPredicate()
      An absolute IRI or blank node identifier denoting the predicate of the triple.
      Returns:
      an absolute URI or blank node
    • getObject

      RdfValue getObject()
      An absolute IRI or blank node identifier or RdfLiteral.
      Returns:
      RdfValue