com.hp.hpl.jena.graph.query
Interface Valuator

All Known Implementing Classes:
Expression.BoolConstant, FixedValuator, SlotValuator

public interface Valuator

Valuator - an interface for things that evaluate to some value, given a binding of variable (inexes) to values.

Author:
kers

Method Summary
 boolean evalBool(IndexValues iv)
          Answer the evaluated value as a primitive boolean
 Object evalObject(IndexValues iv)
          Answer the evaluated value
 

Method Detail

evalBool

boolean evalBool(IndexValues iv)
Answer the evaluated value as a primitive boolean

Parameters:
iv - the mapping from variable (indexes) to values

evalObject

Object evalObject(IndexValues iv)
Answer the evaluated value

Parameters:
iv - the mapping from variable (indexes) to values


Licenced under the Apache License, Version 2.0