Package org.apache.jena.graph
Class Node_Blank
- java.lang.Object
-
- org.apache.jena.graph.Node
-
- org.apache.jena.graph.Node_Concrete
-
- org.apache.jena.graph.Node_Blank
-
- All Implemented Interfaces:
java.io.Serializable
public class Node_Blank extends Node_Concrete
RDF blank nodes, ie nodes with identity but without URIs.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.jena.graph.Node
Node.NotLiteral
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
Nodes only equal other Nodes that have equal labels.BlankNodeId
getBlankNodeId()
get the blank node id if the node is blank, otherwise die horriblyboolean
isBlank()
Answer true iff this node is a blank node [subclasses override]java.lang.Object
visitWith(NodeVisitor v)
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
getBlankNodeLabel, getGraph, getIndexingValue, getLiteral, getLiteralDatatype, getLiteralDatatypeURI, getLiteralIsXML, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getLocalName, getName, getNameSpace, getTriple, getURI, hashCode, hasURI, isLiteral, isNodeGraph, isNodeTriple, isURI, isVariable, matches, sameValueAs, toString, toString, toString, toString
-
-
-
-
Method Detail
-
isBlank
public boolean isBlank()
Description copied from class:Node
Answer true iff this node is a blank node [subclasses override]
-
getBlankNodeId
public BlankNodeId getBlankNodeId()
Description copied from class:Node
get the blank node id if the node is blank, otherwise die horribly- Overrides:
getBlankNodeId
in classNode
-
visitWith
public java.lang.Object visitWith(NodeVisitor v)
Description copied from class:Node
Visit a Node and dispatch on it to the appropriate method from the NodeVisitorv
.
-
-