java.lang.Object
org.apache.jena.graph.Node
org.apache.jena.graph.Node_URI
- All Implemented Interfaces:
Serializable
RDF nodes with a global identity given by a URI.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.jena.graph.Node
Node.NotLiteral -
Field Summary
Fields inherited from class org.apache.jena.graph.Node
ANY, noLangTag, noTextDirection -
Method Summary
Modifier and TypeMethodDescriptionbooleanJava rules for equals.get the localname part of this node if it's a URI node, else die horriblyget the namespace part of this node if it's a URI node, else die horriblygetURI()get the URI of this node if it has one, else die horriblyinthashCode()booleananswer true iff this node is a URI node with the given URIbooleanAnswer true iff this node is concrete, meaning a node that is data in an RDF Graph.booleanisURI()Answer true iff this node is a URI node [subclasses override]toString()Answer a human-readable representation of this Node.Answer a String representing the node, taking into account the PrefixMapping.Visit a Node and dispatch on it to the appropriate method from the NodeVisitorv.Methods inherited from class org.apache.jena.graph.Node
getBlankNodeLabel, getGraph, getIndexingValue, getLiteral, getLiteralBaseDirection, getLiteralDatatype, getLiteralDatatypeURI, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getName, getTriple, isBlank, isExt, isLiteral, isNodeGraph, isNodeTriple, isTripleTerm, isVariable, matches, sameTermAs, sameValueAs
-
Method Details
-
isConcrete
public boolean isConcrete()Description copied from class:NodeAnswer true iff this node is concrete, meaning a node that is data in an RDF Graph.- Specified by:
isConcretein classNode
-
getURI
Description copied from class:Nodeget the URI of this node if it has one, else die horribly -
visitWith
Description copied from class:NodeVisit a Node and dispatch on it to the appropriate method from the NodeVisitorv. -
isURI
public boolean isURI()Description copied from class:NodeAnswer true iff this node is a URI node [subclasses override] -
toString
Description copied from class:NodeAnswer a human-readable representation of this Node. -
getNameSpace
Description copied from class:Nodeget the namespace part of this node if it's a URI node, else die horribly- Overrides:
getNameSpacein classNode
-
getLocalName
Description copied from class:Nodeget the localname part of this node if it's a URI node, else die horribly- Overrides:
getLocalNamein classNode
-
hasURI
Description copied from class:Nodeanswer true iff this node is a URI node with the given URI -
hashCode
public int hashCode() -
equals
Description copied from class:NodeJava rules for equals. See also {#sameTermAs} and {#sameValueAs}. Nodes only equal other Nodes that have equal labels.
-