- All Superinterfaces:
RdfValue
- All Known Implementing Classes:
RdfResourceImpl
public interface RdfResource
extends RdfValue
An immutable RDF statement's value. Represents an absolute IRI or blank node identifier.
-
Method Summary
Return the RdfValue as a RdfLiteral
default boolean
Indicates if the value type is RDF literal.
-
Method Details
-
isLiteral
default boolean isLiteral()
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
Description copied from interface: RdfValue
Return the RdfValue as a RdfLiteral
- Specified by:
asLiteral
in interface RdfValue
- Returns:
- the RdfValue as a RdfLiteral