com.hp.hpl.jena.graph
Class Node_NULL

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_NULL

public class Node_NULL
extends Node_Concrete

The Highlander Node_NULL exists for the database code (as a Node that coresponds to a null in database tables for the reification code).

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(java.lang.Object other)
          Node_NULL's are equal to no null nodes; strictly speaking, this incorrect but suits our purposes.
 java.lang.String toString()
          Answer a human-readable representation of this Node.
 java.lang.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, createUncachedLiteral, createURI, createVariable, getBlankNodeId, getBlankNodeLabel, getIndexingValue, getLiteral, getLiteralDatatype, getLiteralDatatypeURI, getLiteralIsXML, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getLocalName, getName, getNameSpace, getType, getURI, hashCode, hasURI, isBlank, isLiteral, isURI, isVariable, matches, sameValueAs, toString, toString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

equals

public boolean equals(java.lang.Object other)
Node_NULL's are equal to no null nodes; strictly speaking, this incorrect but suits our purposes. really want an isNull method on Node but that's too much surgery.

Specified by:
equals in class Node

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 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

toString

public java.lang.String toString()
Description copied from class: Node
Answer a human-readable representation of this Node. It will not compress URIs, nor quote literals (because at the moment too many places use toString() for something machine-oriented).

Overrides:
toString in class Node


Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP