Serializable
, Comparable<RDFNode>
, HasIRI
public class RDFResourceIRI extends RDFResource
Constructor | Description |
---|---|
RDFResourceIRI(IRI resource) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object obj) |
|
IRI |
getIRI() |
Gets the IRI of this object
|
String |
getNodeIDValue() |
For blank nodes, return a valid value for thr rdf/xml nodeId attribute.
|
IRI |
getResource() |
|
int |
hashCode() |
|
boolean |
isAnonymous() |
Determines if this node is a resource and is anonymous.
|
boolean |
isLiteral() |
Determines if this node is a literal node.
|
String |
toString() |
idRequiredForIndividualOrAxiom, isAxiom, isIndividual, shouldOutputId
compareTo
public boolean isLiteral()
RDFNode
public IRI getIRI()
HasIRI
public IRI getResource()
getResource
in class RDFResource
public boolean isAnonymous()
RDFNode
isAnonymous
in class RDFNode
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 String getNodeIDValue()
RDFResource
getNodeIDValue
in class RDFResource
Copyright © 2018 The University of Manchester. All rights reserved.