com.hp.hpl.jena.graph
Class Node_NULL
java.lang.Object
com.hp.hpl.jena.graph.Node
com.hp.hpl.jena.graph.Node_Concrete
com.hp.hpl.jena.graph.Node_NULL
- public class Node_NULL
- extends Node_Concrete
A Node_ANY (there should be only one) is a meta-node that is used to stand
for any other node in a query.
- Author:
- kers
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. really want an isNull
method on Node but that's too much surgery. |
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 |
cache, create, create, create, createAnon, createAnon, createLiteral, createLiteral, createLiteral, createURI, createVariable, getBlankNodeId, getLiteral, getName, getURI, hashCode, isBlank, isLiteral, isURI, isVariable, matches, nullLiteralsGenerateWarnings, sameValueAs, toString, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Node_NULL
public Node_NULL()
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-2003 Hewlett-Packard. All Rights Reserved.