public interface ONodeID extends Comparable<ONodeID>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ONodeID other) |
boolean |
equals(Object other) |
String |
getNameSpace() |
String |
getResourceName() |
int |
hashCode() |
boolean |
isAnonymousResource()
Return if this represents a blank node or a named resource.
|
String |
toASCIIString()
Return the node ID as a pure ASCII string.
|
String |
toDisplayString()
Return the node ID as a unicode string.
|
String |
toString()
Return the node ID as the string from which the ID was originally created.
|
String |
toTurtle()
Return a representation of the node that conforms to Turtle syntax.
|
void |
validate()
Validate if the string that was passed on as a bnode id or as an URI/IRI
to the constructor of the implementing class can be converted to
a blank node identifier or and URI/IRI that conforms to the implementaion.
|
String getNameSpace()
String getResourceName()
String toString()
String toASCIIString()
NOTE: URI encoding and translation from/to IRIs is not implemented yet!
String toDisplayString()
NOTE: not implemented yet!
boolean isAnonymousResource()
NOTE: not implemented yet!
int compareTo(ONodeID other)
compareTo
in interface Comparable<ONodeID>
String toTurtle()
void validate() throws IllegalArgumentException
IllegalArgumentException
Copyright © 2024 GATE. All rights reserved.