- asResource
If this node is a Resource, answer that resource; otherwise throw an exception.
- asLiteral
If this node is a Literal, answer that literal; otherwise throw an exception.
- toString
Answer a String representation of the node. The form of the string depends on
the type of the node a
- isLiteral
Answer true iff this RDFNode is a literal resource. Useful for one-off tests:
see also visitWith() f
- asNode
- isResource
Answer true iff this RDFNode is a URI resource or an anonymous resource (ie is
not a literal). Usefu
- isURIResource
Answer true iff this RDFNode is an named resource. Useful for one-off tests: see
also visitWith() fo
- isAnon
Answer true iff this RDFNode is an anonymous resource. Useful for one-off tests:
see also visitWith(
- as
RDFNodes can be converted to different implementation types. Convert this
RDFNode to a type supporti
- getModel
- canAs
Answer true iff this RDFNode can be viewed as an instance ofview: that is, if it
has already been vi
- inModel
Answer a .equals() version of this node, except that it's in the modelm.