public class RDFResourceNode extends RDFNode
| Constructor and Description |
|---|
RDFResourceNode(int anonId)
Constructs an anonymous node, which has the specified ID.
|
RDFResourceNode(org.semanticweb.owlapi.model.IRI iri)
Constructs a named resource (i.e.
|
public RDFResourceNode(org.semanticweb.owlapi.model.IRI iri)
iri - the IRIpublic RDFResourceNode(int anonId)
anonId - The id of the nodepublic org.semanticweb.owlapi.model.IRI getIRI()
RDFNodepublic boolean isLiteral()
public boolean isAnonymous()
RDFNodeisAnonymous in class RDFNodetrue 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.Copyright © 2013 The University of Manchester. All Rights Reserved.