Package com.apicatalog.rdf
Interface RdfValue
-
- All Known Subinterfaces:
RdfLiteral,RdfResource
- All Known Implementing Classes:
ImmutableRdfLiteral,ImmutableRdfResource
@Deprecated public interface RdfValueDeprecated.since 1.7.0 - use an alternative RDF primitives library.This class is deprecated as of version 1.7.0.Please use Titanium RDF Primitives or any other third-party library to materialize RDF primitives.
- See Also:
- Titanium RDF Primitives
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description RdfLiteralasLiteral()Deprecated.Return the RdfValue as a RdfLiteralbooleanequals(java.lang.Object o)Deprecated.java.lang.StringgetValue()Deprecated.Returns rawStringrepresentation of the value.inthashCode()Deprecated.default booleanisBlankNode()Deprecated.Indicates if the value type is blank node identifier.default booleanisIRI()Deprecated.Indicates if the value type is an absolute IRI.default booleanisLiteral()Deprecated.Indicates if the value type is RDF literal.java.lang.StringtoString()Deprecated.
-
-
-
Method Detail
-
isLiteral
default boolean isLiteral()
Deprecated.Indicates if the value type is RDF literal.- Returns:
trueif the value type is literal,falseotherwise.
-
isIRI
default boolean isIRI()
Deprecated.Indicates if the value type is an absolute IRI.- Returns:
trueif the value type is IRI,falseotherwise.
-
isBlankNode
default boolean isBlankNode()
Deprecated.Indicates if the value type is blank node identifier.- Returns:
trueif the value type is blank node,falseotherwise.
-
asLiteral
RdfLiteral asLiteral()
Deprecated.Return the RdfValue as a RdfLiteral- Returns:
- the RdfValue as a RdfLiteral
- Throws:
java.lang.ClassCastException- if the RdfValue is not a RdfLiteral
-
getValue
java.lang.String getValue()
Deprecated.Returns rawStringrepresentation of the value.- Returns:
- text representing the value.
-
equals
boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equalsin classjava.lang.Object
-
hashCode
int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
toString
java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-