Java org.apache.commons.rdf.api Literal fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.rdf.api Literal fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.rdf.api Literal.

The text is from its open source code.

Implementation

org.apache.commons.rdf.api.Literal has the following implementations.
Click this link to see all its implementation.

Method

IRIgetDatatype()
The IRI identifying the datatype that determines how the lexical form maps to a literal value.
OptionalgetLanguageTag()
If and only if the datatype IRI is http://www.w3.org/1999/02/22-rdf-syntax-ns#langString, the language tag for this Literal is a non-empty language tag as defined by BCP47.
If the datatype IRI is not http://www.w3.org/1999/02/22-rdf-syntax-ns#langString, this method must return Optional#empty() .
StringgetLexicalForm()
The lexical form of this literal, represented by a Unicode string.
StringntriplesString()
Return the term serialised as specified by the RDF-1.1 N-Triples Canonical form.