public interface LiteralOrONodeID
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Literal |
getLiteral()
Get the
Literal object if this object represents a literal. |
ONodeID |
getONodeID()
Get the
ONodeID object if this object represents a node ID. |
int |
hashCode() |
boolean |
isLiteral()
Check if the object represents a literal.
|
boolean |
isONodeID()
Check if the object represents a node ID.
|
String |
toString() |
String |
toTurtle()
Create a String representation that conforms to Turtle language syntax.
|
boolean isLiteral()
boolean isONodeID()
ONodeID getONodeID()
ONodeID
object if this object represents a node ID. Throws a
GateOntologyException
if this object represents a literal.Literal getLiteral()
Literal
object if this object represents a literal.
Throws a GateOntologyException
if this object represents a
node ID.String toTurtle()
Copyright © 2024 GATE. All rights reserved.