java.lang.Object
org.apache.jena.cdt.CDTValue
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.graph.Node
asNode()
Returns this object as an RDF term (i.e., an IRI, a literal, or a blank node), assuming it is one.boolean
int
hashCode()
boolean
isNode()
Returns true if this object is an RDF term (i.e., an IRI, a literal, or a blank node).boolean
isNull()
Returns true if this is a null value (in which caseisNode()
must return false).boolean
final boolean
toString()
-
Constructor Details
-
CDTValue
public CDTValue()
-
-
Method Details
-
isNull
public boolean isNull()Returns true if this is a null value (in which caseisNode()
must return false). -
isNode
public boolean isNode()Returns true if this object is an RDF term (i.e., an IRI, a literal, or a blank node). In that case,asNode()
can be used to get a correspondingNode
representation of this RDF term. -
asNode
public org.apache.jena.graph.Node asNode()Returns this object as an RDF term (i.e., an IRI, a literal, or a blank node), assuming it is one. If it is not, then anUnsupportedOperationException
is thrown. -
toString
-
hashCode
public int hashCode() -
equals
-
sameAs
- Throws:
ExprEvalException
-
sameAs
- Throws:
ExprEvalException
-
asLexicalForm
-