java.lang.Object
org.apache.jena.rdf.model.AnonId
System id for an anonymous node.
Blank nodes have identity (.equals
tells them apart)
but have no web-visible external stable identifier like a URI.
The Jena API has traditionally had AnonId
in the RDF API. BlankNodeId
is the SPI equivalent and databases
that need a persistent identifier across JVM instances use that for blank nodes.
This id is guaranteed to be unique on this machine.
-
Constructor Summary
ConstructorsConstructorDescriptionAnonId()
Create a new AnonId from the string argument suppliedAnonId
(BlankNodeId id) Create a new AnonId from the BlankNodeId argument supplied -
Method Summary
-
Constructor Details
-
AnonId
public AnonId() -
AnonId
Create a new AnonId from the string argument supplied- Parameters:
idStr
- A string representation of the id to be created.
-
AnonId
Create a new AnonId from the BlankNodeId argument supplied- Parameters:
id
- A string representation of the id to be created.
-
-
Method Details