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
The Highlander Node_NULL exists for the database code (as a Node that
coresponds to a null in database tables for the reification code).
Fields inherited from class com.hp.hpl.jena.graph.Node |
ANY, NULL |
Method Summary |
boolean |
equals(Object other)
Node_NULL's are equal to no null nodes; strictly speaking,
this incorrect but suits our purposes. |
String |
toString()
Answer a human-readable representation of this Node. |
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 |
create, createAnon, createAnon, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createUncachedLiteral, 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 |
equals
public boolean equals(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 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 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
Licenced under the Apache License, Version 2.0