com.hp.hpl.jena.graph.query
Class Rewrite.DyadicLiteral

java.lang.Object
  extended by com.hp.hpl.jena.graph.query.Expression.Base
      extended by com.hp.hpl.jena.graph.query.Expression.Application
          extended by com.hp.hpl.jena.graph.query.Dyadic
              extended by com.hp.hpl.jena.graph.query.Rewrite.DyadicLiteral
All Implemented Interfaces:
Expression
Enclosing class:
Rewrite

public abstract static class Rewrite.DyadicLiteral
extends Dyadic


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hp.hpl.jena.graph.query.Expression
Expression.Application, Expression.Base, Expression.BoolConstant, Expression.Constant, Expression.Fixed, Expression.Util, Expression.Valof, Expression.Variable
 
Field Summary
 
Fields inherited from interface com.hp.hpl.jena.graph.query.Expression
FALSE, TRUE
 
Constructor Summary
Rewrite.DyadicLiteral(Expression L, java.lang.String F, java.lang.String R)
           
 
Method Summary
 boolean evalBool(java.lang.Object l, java.lang.Object r)
          Answer the boolean result of evaluating this dyadic expression with the given arguments l and r.
 
Methods inherited from class com.hp.hpl.jena.graph.query.Dyadic
and, argCount, evalObject, getArg, getFun, prepare, toString
 
Methods inherited from class com.hp.hpl.jena.graph.query.Expression.Application
isApply
 
Methods inherited from class com.hp.hpl.jena.graph.query.Expression.Base
equals, getName, getValue, isConstant, isVariable
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Rewrite.DyadicLiteral

public Rewrite.DyadicLiteral(Expression L,
                             java.lang.String F,
                             java.lang.String R)
Method Detail

evalBool

public boolean evalBool(java.lang.Object l,
                        java.lang.Object r)
Description copied from class: Dyadic
Answer the boolean result of evaluating this dyadic expression with the given arguments l and r. Either this method or evalObject must be over-ridden in concrete sub-classes.

Overrides:
evalBool in class Dyadic


Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP