Package org.apache.jena.graph
Class Node_URI
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 TypeMethodDescriptionboolean
Nodes 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 horriblyboolean
answer true iff this node is a URI node with the given URIboolean
isURI()
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
isConcrete
Methods 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:Node
get the URI of this node if it has one, else die horribly -
visitWith
Description copied from class:Node
Visit a Node and dispatch on it to the appropriate method from the NodeVisitorv
. -
isURI
public boolean isURI()Description copied from class:Node
Answer true iff this node is a URI node [subclasses override] -
equals
Description copied from class:Node
Nodes only equal other Nodes that have equal labels. -
getNameSpace
Description copied from class:Node
get the namespace part of this node if it's a URI node, else die horribly- Overrides:
getNameSpace
in classNode
-
getLocalName
Description copied from class:Node
get the localname part of this node if it's a URI node, else die horribly- Overrides:
getLocalName
in classNode
-
hasURI
Description copied from class:Node
answer true iff this node is a URI node with the given URI
-