java.lang.Object
org.apache.jena.graph.Node
org.apache.jena.graph.Node_Blank
- All Implemented Interfaces:
Serializable
RDF blank nodes. Blank nodes have identity but do not have a URIs or literal value.
- 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 TypeMethodDescriptionboolean
Java rules for equals.Answer the label of this blank node or throw an UnsupportedOperationException if it's not blank.int
hashCode()
boolean
isBlank()
Answer true iff this node is a blank node [subclasses override]boolean
Answer true iff this node is concrete, meaning a node that is data in an RDF Graph.toString()
Answer a human-readable representation of this Node.toString
(PrefixMapping pmap) Answer a human-readable representation of the Node.Visit a Node and dispatch on it to the appropriate method from the NodeVisitorv
.Methods inherited from class org.apache.jena.graph.Node
getGraph, getIndexingValue, getLiteral, getLiteralDatatype, getLiteralDatatypeURI, getLiteralLanguage, getLiteralLexicalForm, getLiteralTextDirection, getLiteralValue, getLocalName, getName, getNameSpace, getTriple, getURI, hasURI, isExt, isLiteral, isNodeGraph, isNodeTriple, isURI, isVariable, matches, sameTermAs, sameValueAs
-
Method Details
-
isBlank
public boolean isBlank()Description copied from class:Node
Answer true iff this node is a blank node [subclasses override] -
getBlankNodeLabel
Description copied from class:Node
Answer the label of this blank node or throw an UnsupportedOperationException if it's not blank.- Overrides:
getBlankNodeLabel
in classNode
-
isConcrete
public boolean isConcrete()Description copied from class:Node
Answer true iff this node is concrete, meaning a node that is data in an RDF Graph.- Specified by:
isConcrete
in classNode
-
visitWith
Description copied from class:Node
Visit a Node and dispatch on it to the appropriate method from the NodeVisitorv
. -
hashCode
public int hashCode() -
equals
Description copied from class:Node
Java rules for equals. See also {#sameTermAs} and {#sameValueAs} Nodes only equal other Nodes that have equal labels. -
toString
Description copied from class:Node
Answer a human-readable representation of this Node.
-