Interface RdfResource

    • Method Detail

      • isLiteral

        default boolean isLiteral()
        Deprecated.
        Description copied from interface: RdfValue
        Indicates if the value type is RDF literal.
        Specified by:
        isLiteral in interface RdfValue
        Returns:
        true if the value type is literal, false otherwise.
      • asLiteral

        default RdfLiteral asLiteral()
        Deprecated.
        Description copied from interface: RdfValue
        Return the RdfValue as a RdfLiteral
        Specified by:
        asLiteral in interface RdfValue
        Returns:
        the RdfValue as a RdfLiteral