com.hp.hpl.jena.graph
Class Node_Blank

java.lang.Object
  extended by com.hp.hpl.jena.graph.Node
      extended by com.hp.hpl.jena.graph.Node_Concrete
          extended by com.hp.hpl.jena.graph.Node_Blank

public class Node_Blank
extends Node_Concrete

RDF blank nodes, ie nodes with identity but without URIs.

Author:
kers

Nested Class Summary
 
Nested classes/interfaces inherited from class com.hp.hpl.jena.graph.Node
Node.NotLiteral
 
Field Summary
 
Fields inherited from class com.hp.hpl.jena.graph.Node
ANY, NULL
 
Method Summary
 boolean equals(Object other)
          Nodes only equal other Nodes that have equal labels.
 AnonId getBlankNodeId()
          get the blank node id if the node is blank, otherwise die horribly
 boolean isBlank()
          Answer true iff this node is a blank node [subclasses override]
 Object visitWith(NodeVisitor v)
          Visit a Node and dispatch on it to the appropriate method from the NodeVisitor v.
 
Methods inherited from class com.hp.hpl.jena.graph.Node_Concrete
isConcrete
 
Methods inherited from class com.hp.hpl.jena.graph.Node
cache, create, createAnon, createAnon, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createUncachedLiteral, createUncachedLiteral, createURI, createVariable, getBlankNodeLabel, getIndexingValue, getLiteral, getLiteralDatatype, getLiteralDatatypeURI, getLiteralIsXML, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getLocalName, getName, getNameSpace, getType, getURI, hashCode, hasURI, isLiteral, isURI, isVariable, matches, sameValueAs, toString, toString, toString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

isBlank

public boolean isBlank()
Description copied from class: Node
Answer true iff this node is a blank node [subclasses override]

Overrides:
isBlank in class Node

getBlankNodeId

public AnonId getBlankNodeId()
Description copied from class: Node
get the blank node id if the node is blank, otherwise die horribly

Overrides:
getBlankNodeId in class Node

visitWith

public Object visitWith(NodeVisitor v)
Description copied from class: Node
Visit a Node and dispatch on it to the appropriate method from the NodeVisitor v.

Specified by:
visitWith in class Node
Parameters:
v - the visitor to apply to the node
Returns:
the value returned by the applied method

equals

public boolean equals(Object other)
Description copied from class: Node
Nodes only equal other Nodes that have equal labels.

Specified by:
equals in class Node


Licenced under the Apache License, Version 2.0