Interface ALiteral

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getDatatypeURI()
      The datatype URI of a typed literal, or null for an untyped literal.
      java.lang.String getLang()
      The value of xml:lang for this literal, often the empty string.
      boolean isWellFormedXML()
      True if this literal was formed from a rdf:parseType="Literal" construction.
      java.lang.String toString()
      The string value of the literal.
    • Method Detail

      • isWellFormedXML

        boolean isWellFormedXML()
        True if this literal was formed from a rdf:parseType="Literal" construction.
        Returns:
        true for rdf:parseType="Literal" or any other unrecognised parseType.
      • getDatatypeURI

        java.lang.String getDatatypeURI()
        The datatype URI of a typed literal, or null for an untyped literal.
        Returns:
        the URI as a String, or null
      • toString

        java.lang.String toString()
        The string value of the literal.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string.
      • getLang

        java.lang.String getLang()
        The value of xml:lang for this literal, often the empty string.
        Returns:
        xml:lang.