org.coode.owlapi.rdf.model
Class RDFNode

java.lang.Object
  extended by org.coode.owlapi.rdf.model.RDFNode
Direct Known Subclasses:
RDFLiteralNode, RDFResourceNode

public abstract class RDFNode
extends java.lang.Object

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 06-Dec-2006


Constructor Summary
RDFNode()
           
 
Method Summary
abstract  IRI getIRI()
          Gets the URI of the resource.
abstract  boolean isAnonymous()
          Determines if this node is a resource and is anonymous.
abstract  boolean isLiteral()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDFNode

public RDFNode()
Method Detail

isLiteral

public abstract boolean isLiteral()

getIRI

public abstract IRI getIRI()
Gets the URI of the resource.

Returns:
The URI or null if this is an anonymous resource.

isAnonymous

public abstract boolean isAnonymous()
Determines if this node is a resource and is anonymous.

Returns:
true if this is a resource node (i.e. isLiteral returns false) and the node is anonymous, or false if this is a resource node and is not anonymous.