com.hp.hpl.jena.graph
Class Node_URI

java.lang.Object
  extended bycom.hp.hpl.jena.graph.Node
      extended bycom.hp.hpl.jena.graph.Node_Concrete
          extended bycom.hp.hpl.jena.graph.Node_URI

public class Node_URI
extends Node_Concrete

Author:
kers

Field Summary
 
Fields inherited from class com.hp.hpl.jena.graph.Node
ANY
 
Constructor Summary
Node_URI(java.lang.Object uri)
           
 
Method Summary
 boolean equals(java.lang.Object other)
          Nodes only equal other Nodes that have equal labels.
 java.lang.String getURI()
          get the URI of this node if it has one, else die horribly
 boolean isURI()
          is this a URI node - overridden in Node_URI
 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, create, create, createAnon, createAnon, createLiteral, createLiteral, createLiteral, createURI, createVariable, getBlankNodeId, getLiteral, getName, getTriple, hashCode, isBlank, isLiteral, isVariable, matches, nullLiteralsGenerateWarnings, sameValueAs, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Node_URI

public Node_URI(java.lang.Object uri)
Method Detail

getURI

public java.lang.String getURI()
Description copied from class: Node
get the URI of this node if it has one, else die horribly

Overrides:
getURI 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

isURI

public boolean isURI()
Description copied from class: Node
is this a URI node - overridden in Node_URI

Overrides:
isURI in class Node

equals

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

Specified by:
equals in class Node


Copyright © 2001-2003 Hewlett-Packard. All Rights Reserved.