Package com.stardog.stark
Interface Value
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
ArrayLiteral
,StatementPattern
@Immutable public interface Value extends java.io.Serializable
Base type for a node in an RDF graph
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
- See Also:
- RDF Data Model
-
-
Method Detail
-
lex
@Nonnull static java.lang.String lex(@Nonnull Value theValue)
Return the lexical value of aValue
, which is dependent on the type of the `Value`.Literal
-- theLiteral.label()
BNode
-- theBNode.id()
IRI
-- theIRI#toString()
(ie the plain IRI)
- Parameters:
theValue
- the value- Returns:
- the label
-
-