Class Literal
java.lang.Object
tech.oxfordsemantic.jrdfox.util.InterningManager.InternedObject
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.StringRDF_PLAIN_LITERALstatic LiteralUNDEFstatic java.lang.StringXSD_STRING - 
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)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:
 acceptin classLogicObject
 - 
toString
- Specified by:
 toStringin classLogicObject
 - 
create
 
 -