org.webmacro.engine
Class Expression.ExpressionBase

java.lang.Object
  extended byorg.webmacro.engine.Expression.ExpressionBase
All Implemented Interfaces:
Macro, Visitable
Direct Known Subclasses:
Expression.AndOperation, Expression.BinaryOperation, Expression.OrOperation, Expression.UnaryOperation
Enclosing class:
Expression

public abstract static class Expression.ExpressionBase
extends java.lang.Object
implements Macro, Visitable


Constructor Summary
protected Expression.ExpressionBase()
           
 
Method Summary
 void write(FastWriter out, Context context)
          Interpret the directive and write it out, using the values in the supplied context as appropriate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.webmacro.Macro
evaluate
 
Methods inherited from interface org.webmacro.Visitable
accept
 

Constructor Detail

Expression.ExpressionBase

protected Expression.ExpressionBase()
Method Detail

write

public final void write(FastWriter out,
                        Context context)
                 throws PropertyException,
                        java.io.IOException
Description copied from interface: Macro
Interpret the directive and write it out, using the values in the supplied context as appropriate.

Specified by:
write in interface Macro
Throws:
java.io.IOException - if we could not successfully write to out
PropertyException - if required data was missing from context