Serializable
, Comparable<RDFNode>
, HasIRI
RDFLiteral
, RDFResource
public abstract class RDFNode extends Object implements Serializable, Comparable<RDFNode>, HasIRI
Constructor | Description |
---|---|
RDFNode() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
idRequiredForIndividualOrAxiom() |
|
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() |
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 idRequiredForIndividualOrAxiom()
Copyright © 2018 The University of Manchester. All rights reserved.