org.openrdf.sesame.sail.query
Class IsBNode

java.lang.Object
  extended byorg.openrdf.sesame.sail.query.IsBNode
All Implemented Interfaces:
BooleanExpr

public class IsBNode
extends Object
implements BooleanExpr


Constructor Summary
IsBNode(Var var)
           
 
Method Summary
 void getVariables(Collection variables)
          Gets all variables that are used in this BooleanExpr.
 boolean isTrue(RdfSource rdfSource)
          Determines whether the operand (a variable) contains a BNode.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IsBNode

public IsBNode(Var var)
Method Detail

isTrue

public boolean isTrue(RdfSource rdfSource)
               throws SailQueryException
Determines whether the operand (a variable) contains a BNode.

Specified by:
isTrue in interface BooleanExpr
Parameters:
rdfSource - The RdfSource to evaluate the boolean expression against.
Returns:
true if the operand contains a BNode, false otherwise.
Throws:
SailQueryException

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.