public abstract class RDFNode extends Object implements Serializable, Comparable<RDFNode>, HasIRI, org.apache.commons.rdf.api.RDFTerm
Constructor and Description |
---|
RDFNode() |
Modifier and Type | Method and Description |
---|---|
boolean |
idRequired() |
boolean |
isAnonymous()
Determines if this node is a resource and is anonymous.
|
boolean |
isAxiom()
Determines if this node is an axiom.
|
boolean |
isIndividual() |
boolean |
isLiteral()
Determines if this node is a literal node.
|
boolean |
shouldOutputId() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo
public boolean isLiteral()
true
if this node is a literal, otherwise false
.public boolean isAxiom()
true
if this node is a literal, otherwise false
.public 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.