Class RdfTripleImpl
java.lang.Object
no.hasmac.rdf.impl.RdfTripleImpl
- All Implemented Interfaces:
RdfTriple
- Direct Known Subclasses:
RdfNQuadImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RdfValueprivate final RdfResourceprivate final RdfResource -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRdfTripleImpl(RdfResource subject, RdfResource predicate, RdfValue object) -
Method Summary
Modifier and TypeMethodDescriptionAn absolute IRI or blank node identifier orRdfLiteral.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.toString()
-
Field Details
-
subject
-
predicate
-
object
-
-
Constructor Details
-
RdfTripleImpl
-
-
Method Details
-
getSubject
Description copied from interface:RdfTripleAn absolute IRI or blank node identifier denoting the subject of the triple.- Specified by:
getSubjectin interfaceRdfTriple- Returns:
- an absolute URI or blank node
-
getPredicate
Description copied from interface:RdfTripleAn absolute IRI or blank node identifier denoting the predicate of the triple.- Specified by:
getPredicatein interfaceRdfTriple- Returns:
- an absolute URI or blank node
-
getObject
-
toString
-