org.jrdf.graph
Class TripleImpl
java.lang.Object
org.jrdf.graph.AbstractTriple
org.jrdf.graph.TripleImpl
- All Implemented Interfaces:
- Serializable, Triple
public class TripleImpl
- extends AbstractTriple
- See Also:
- Serialized Form
Method Summary |
boolean |
isGrounded()
Returns true if the subject and object nodes are not blank nodes. |
TripleImpl
public TripleImpl(SubjectNode subject,
PredicateNode predicate,
ObjectNode object)
- Constructor for this Triple, only to be used by the NodeFactory.
- Parameters:
subject
- The subject node of this triple.predicate
- The predicate node of this triple.object
- The object node of this triple.
isGrounded
public boolean isGrounded()
- Description copied from interface:
Triple
- Returns true if the subject and object nodes are not blank nodes.
- Specified by:
isGrounded
in interface Triple
- Overrides:
isGrounded
in class AbstractTriple
- Returns:
- true if the subject and object nodes are not blank nodes.