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.StringRDF_PLAIN_LITERALstatic LiteralUNDEFstatic java.lang.StringXSD_STRINGFields inherited from class tech.oxfordsemantic.jrdfox.logic.Resource
NO_RESOURCE_TUPLES, NO_RESOURCESFields inherited from class tech.oxfordsemantic.jrdfox.logic.BuiltinExpression
NO_BUILTIN_EXPRESSIONS -
Method Summary
Modifier and Type Method Description <E> Eaccept(LogicVisitor<E> visitor)static Literalcreate(java.lang.String lexicalForm, Datatype datatype)DatatypegetDatatype()java.lang.StringgetLexicalForm()voidtoString(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:
acceptin classBuiltinExpression
-
toString
public void toString(Prefixes prefixes, java.util.function.Consumer<java.lang.String> consumer, LogicFormat logicFormat)- Specified by:
toStringin classBuiltinExpression
-
create
-