Class RdfTripleImpl

java.lang.Object
no.hasmac.rdf.impl.RdfTripleImpl
All Implemented Interfaces:
RdfTriple
Direct Known Subclasses:
RdfNQuadImpl

class RdfTripleImpl extends Object implements RdfTriple
  • Field Details

  • Constructor Details

  • Method Details

    • getSubject

      public RdfResource getSubject()
      Description copied from interface: RdfTriple
      An absolute IRI or blank node identifier denoting the subject of the triple.
      Specified by:
      getSubject in interface RdfTriple
      Returns:
      an absolute URI or blank node
    • getPredicate

      public RdfResource getPredicate()
      Description copied from interface: RdfTriple
      An absolute IRI or blank node identifier denoting the predicate of the triple.
      Specified by:
      getPredicate in interface RdfTriple
      Returns:
      an absolute URI or blank node
    • getObject

      public RdfValue getObject()
      Description copied from interface: RdfTriple
      An absolute IRI or blank node identifier or RdfLiteral.
      Specified by:
      getObject in interface RdfTriple
      Returns:
      RdfValue
    • toString

      public String toString()
      Overrides:
      toString in class Object