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 SummaryFields Modifier and Type Field Description static java.lang.StringRDF_PLAIN_LITERALstatic LiteralUNDEFstatic java.lang.StringXSD_STRING
- 
Method SummaryModifier 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)Methods inherited from class tech.oxfordsemantic.jrdfox.logic.LogicObjecttoString, toString, toString
- 
Field Details- 
UNDEF
- 
XSD_STRINGpublic static final java.lang.String XSD_STRING- See Also:
- Constant Field Values
 
- 
RDF_PLAIN_LITERALpublic static final java.lang.String RDF_PLAIN_LITERAL- See Also:
- Constant Field Values
 
 
- 
- 
Method Details- 
getLexicalFormpublic java.lang.String getLexicalForm()
- 
getDatatype
- 
accept- Specified by:
- acceptin class- LogicObject
 
- 
toString- Specified by:
- toStringin class- LogicObject
 
- 
create
 
-