Package tech.oxfordsemantic.jrdfox.logic
Class Literal
java.lang.Object
tech.oxfordsemantic.jrdfox.logic.BuiltinExpression
tech.oxfordsemantic.jrdfox.logic.Term
tech.oxfordsemantic.jrdfox.logic.Resource
tech.oxfordsemantic.jrdfox.logic.Literal
- All Implemented Interfaces:
java.io.Serializable
public class Literal extends Resource implements java.io.Serializable
- 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
Fields inherited from class tech.oxfordsemantic.jrdfox.logic.Resource
NO_RESOURCE_TUPLES, NO_RESOURCES
Fields inherited from class tech.oxfordsemantic.jrdfox.logic.BuiltinExpression
NO_BUILTIN_EXPRESSIONS
-
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, LogicFormat logicFormat)
Methods inherited from class tech.oxfordsemantic.jrdfox.logic.BuiltinExpression
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 classBuiltinExpression
-
toString
public void toString(Prefixes prefixes, java.util.function.Consumer<java.lang.String> consumer, LogicFormat logicFormat)- Specified by:
toString
in classBuiltinExpression
-
create
-