public abstract class RDFNode extends Object implements Serializable, Comparable<RDFNode>, HasIRI
Constructor and Description |
---|
RDFNode() |
Modifier and Type | Method and Description |
---|---|
boolean |
idRequired() |
abstract boolean |
isAnonymous()
Determines if this node is a resource and is anonymous.
|
boolean |
isAxiom()
Determines if this node is an axiom.
|
boolean |
isIndividual() |
abstract boolean |
isLiteral()
Determines if this node is a literal node.
|
boolean |
shouldOutputId() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo
public abstract boolean isLiteral()
true
if this node is a literal, otherwise false
.public boolean isAxiom()
true
if this node is a literal, otherwise false
.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.public boolean isIndividual()
public boolean shouldOutputId()
public boolean idRequired()
Copyright © 2020 The University of Manchester. All rights reserved.