public abstract class RDFNode extends Object implements Comparable<RDFNode>
Constructor and Description |
---|
RDFNode() |
Modifier and Type | Method and Description |
---|---|
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() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo
public abstract boolean isLiteral()
public abstract IRI getIRI()
null
if this is an anonymous resource.public abstract boolean isAnonymous()
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.Copyright © 2017 The University of Manchester. All Rights Reserved.