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 TypeMethodDescriptionbooleanJava rules for equals.Answer the label of this blank node or throw an UnsupportedOperationException if it's not blank.inthashCode()booleanisBlank()Answer true iff this node is a blank node [subclasses override]booleanAnswer 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, getLiteralBaseDirection, getLiteralDatatype, getLiteralDatatypeURI, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getLocalName, getName, getNameSpace, getTriple, getURI, hasURI, isExt, isLiteral, isNodeGraph, isNodeTriple, isTripleTerm, isURI, isVariable, matches, sameTermAs, sameValueAs
-
Method Details
-
isBlank
public boolean isBlank()Description copied from class:NodeAnswer true iff this node is a blank node [subclasses override] -
getBlankNodeLabel
Description copied from class:NodeAnswer the label of this blank node or throw an UnsupportedOperationException if it's not blank.- Overrides:
getBlankNodeLabelin classNode
-
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
-
visitWith
Description copied from class:NodeVisit a Node and dispatch on it to the appropriate method from the NodeVisitorv. -
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. -
toString
Description copied from class:NodeAnswer a human-readable representation of this Node.
-