org.eclipse.rdf4j.model

## Interface Value

- All Superinterfaces:
    Serializable
  All Known Subinterfaces:
    BNode, IRI, Literal, MemResource, MemValue, NativeResource, NativeValue, Resource, Triple, URI
  All Known Implementing Classes:
    BNodeImpl, BooleanLiteral, BooleanLiteralImpl, BooleanMemLiteral, CalendarLiteral, CalendarMemLiteral, DecimalLiteral, DecimalMemLiteral, IntegerLiteral, IntegerMemLiteral, LiteralImpl, MemBNode, MemIRI, MemLiteral, MemTriple, NativeBNode, NativeIRI, NativeLiteral, NumericLiteral, NumericMemLiteral, SimpleBNode, SimpleIRI, SimpleLiteral, SimpleTriple, URIImpl

      public interface Value
      extends Serializable

  The supertype of all RDF model objects (URIs, blank nodes and literals).

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `stringValue()` Returns the String-value of a `Value` object.

- - ### Method Detail

    - #### stringValue

          String stringValue()

      Returns the String-value of a `Value` object. This returns either a `Literal`'s label, a `IRI`'s URI or a `BNode`'s ID.

Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.