java.lang.Object
org.apache.jena.graph.Node
org.apache.jena.graph.Node_Concrete
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
-
Method Summary
Modifier and TypeMethodDescriptionbooleanNodes only equal other Nodes that have equal labels.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 horriblybooleananswer true iff this node is a URI node with the given URIbooleanisURI()Answer true iff this node is a URI node [subclasses override]toString(PrefixMapping pm, boolean quoting) 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_Concrete
isConcreteMethods inherited from class org.apache.jena.graph.Node
getBlankNodeId, getBlankNodeLabel, getGraph, getIndexingValue, getLiteral, getLiteralDatatype, getLiteralDatatypeURI, getLiteralIsXML, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getName, getTriple, hashCode, isBlank, isExt, isLiteral, isNodeGraph, isNodeTriple, isVariable, matches, sameValueAs, toString, toString, toString
-
Method Details
-
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] -
equals
Description copied from class:NodeNodes only equal other Nodes that have equal labels. -
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
-