Class SimpleLiteral

    • Constructor Detail

      • SimpleLiteral

        protected SimpleLiteral()
      • SimpleLiteral

        protected SimpleLiteral​(String label)
        Creates a new plain literal with the supplied label.
        Parameters:
        label - The label for the literal, must not be null.
      • SimpleLiteral

        protected SimpleLiteral​(String label,
                                String language)
        Creates a new plain literal with the supplied label and language tag.
        Parameters:
        label - The label for the literal, must not be null.
        language - The language tag for the literal, must not be null and not be empty.
      • SimpleLiteral

        protected SimpleLiteral​(String label,
                                IRI datatype)
        Creates a new datatyped literal with the supplied label and datatype.
        Parameters:
        label - The label for the literal, must not be null.
        datatype - The datatype for the literal.