Class RdfLiteral<T>
- java.lang.Object
-
- org.eclipse.rdf4j.sparqlbuilder.rdf.RdfLiteral<T>
-
- Type Parameters:
T
- the datatype of the literal
- All Implemented Interfaces:
Operand
,QueryElement
,RdfObject
,RdfValue
- Direct Known Subclasses:
RdfLiteral.BooleanLiteral
,RdfLiteral.NumericLiteral
,RdfLiteral.StringLiteral
public abstract class RdfLiteral<T> extends Object implements RdfValue
Denotes an RDF literal- See Also:
- RDF Literals, RDF Literal Syntax
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RdfLiteral.BooleanLiteral
Represents an RDF boolean literalstatic class
RdfLiteral.NumericLiteral
Represents an RDF number literalstatic class
RdfLiteral.StringLiteral
Represents an RDF string literal
-
-
-
Field Detail
-
value
protected T value
-
-
Method Detail
-
getQueryString
public String getQueryString()
- Specified by:
getQueryString
in interfaceQueryElement
- Returns:
- the String representing the SPARQL syntax of this element
-
-