public class RDFResourceNode extends RDFNode
| Constructor and Description |
|---|
RDFResourceNode(int anonId)
Constructs an anonymous node, which has the specified ID.
|
RDFResourceNode(IRI iri)
Constructs a named resource (i.e.
|
public RDFResourceNode(IRI iri)
iri - the IRIpublic RDFResourceNode(int anonId)
anonId - The id of the nodepublic 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 © 2012 The University of Manchester. All Rights Reserved.