public class RDFResourceIRI extends RDFResource
Constructor and Description |
---|
RDFResourceIRI(IRI resource) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
IRI |
getIRI()
Gets the IRI of this object
|
String |
getNodeIDValue()
For blank nodes, return a valid value for the 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() |
compareTo
idRequired, isAxiom, isIndividual, shouldOutputId
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 © 2020 The University of Manchester. All rights reserved.