|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LiteralOrONodeID
A class representing something that is either a literal or a node ID.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 toString()
toString
in class Object
String toTurtle()
int hashCode()
hashCode
in class Object
boolean equals(Object other)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |