org.openrdf.sesame.sail.query
Class BooleanConstant
java.lang.Object
org.openrdf.sesame.sail.query.BooleanConstant
- All Implemented Interfaces:
- BooleanExpr
- public class BooleanConstant
- extends Object
- implements BooleanExpr
TRUE
public static final BooleanConstant TRUE
FALSE
public static final BooleanConstant FALSE
BooleanConstant
public BooleanConstant(boolean value)
isTrue
public boolean isTrue(RdfSource rdfSource)
- Description copied from interface:
BooleanExpr
- Evaluates the boolean expression on the supplied RdfSource object.
- Specified by:
isTrue in interface BooleanExpr
- Parameters:
rdfSource - The RdfSource to evaluate the boolean expression against.
- Returns:
- the result of the evaluation.
getVariables
public void getVariables(Collection variables)
- Description copied from interface:
BooleanExpr
- Gets all variables that are used in this BooleanExpr.
- Specified by:
getVariables in interface BooleanExpr
- Parameters:
variables - A Collection to add the Var objects to.
toString
public String toString()
Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.