Class Literal<T>

  • Type Parameters:
    T - the type of the literal.
    All Implemented Interfaces:
    Node

    public final class Literal<T>
    extends java.lang.Object
    implements Node
    It models the concept of RDF Literal.
    • Constructor Summary

      Constructors 
      Constructor Description
      Literal​(T value)
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getValue()
      Getter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Literal

        public Literal​(T value)
        Default constructor.
        Parameters:
        value - the value of the literal
    • Method Detail

      • getValue

        public T getValue()
        Getter.
        Returns:
        the literal