com.hp.hpl.jena.graph.query
Class ValuatorVariable

java.lang.Object
  extended bycom.hp.hpl.jena.graph.query.ValuatorVariable
All Implemented Interfaces:
Valuator

public class ValuatorVariable
extends java.lang.Object
implements Valuator

Author:
kers
A valuator that represents a variable; it obtains its value from the environment Domain.

Constructor Summary
ValuatorVariable(int index)
          construct a valuator that represents the index'th variable in the environment.
 
Method Summary
 Node eval(Domain d)
          return the value in our slot [as passed in to the constructor]
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValuatorVariable

public ValuatorVariable(int index)
construct a valuator that represents the index'th variable in the environment.

Method Detail

eval

public Node eval(Domain d)
return the value in our slot [as passed in to the constructor]

Specified by:
eval in interface Valuator


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