Class Literal
java.lang.Object
tech.oxfordsemantic.jrdfox.logic.LogicObject
tech.oxfordsemantic.jrdfox.logic.expression.Expression
tech.oxfordsemantic.jrdfox.logic.expression.Term
tech.oxfordsemantic.jrdfox.logic.expression.Resource
tech.oxfordsemantic.jrdfox.logic.expression.Literal
- All Implemented Interfaces:
java.io.Serializable
public class Literal extends Resource
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
RDF_PLAIN_LITERAL
static Literal
UNDEF
static java.lang.String
XSD_STRING
-
Method Summary
Modifier and Type Method Description <E> E
accept(LogicVisitor<E> visitor)
static Literal
create(java.lang.String lexicalForm, Datatype datatype)
Datatype
getDatatype()
java.lang.String
getLexicalForm()
void
toString(Prefixes prefixes, java.util.function.Consumer<java.lang.String> consumer)
Methods inherited from class tech.oxfordsemantic.jrdfox.logic.LogicObject
toString, toString, toString
-
Field Details
-
UNDEF
-
XSD_STRING
public static final java.lang.String XSD_STRING- See Also:
- Constant Field Values
-
RDF_PLAIN_LITERAL
public static final java.lang.String RDF_PLAIN_LITERAL- See Also:
- Constant Field Values
-
-
Method Details
-
getLexicalForm
public java.lang.String getLexicalForm() -
getDatatype
-
accept
- Specified by:
accept
in classLogicObject
-
toString
- Specified by:
toString
in classLogicObject
-
create
-