org.peaseplate.internal.lang.command
Class AbstractBooleanCommand

java.lang.Object
  extended by org.peaseplate.internal.lang.command.AbstractCommand
      extended by org.peaseplate.internal.lang.command.AbstractDoubleParameterCommand
          extended by org.peaseplate.internal.lang.command.AbstractBooleanCommand
All Implemented Interfaces:
ICommand
Direct Known Subclasses:
AndCommand, OrCommand

public abstract class AbstractBooleanCommand
extends AbstractDoubleParameterCommand


Constructor Summary
AbstractBooleanCommand(TemplateLocator locator, int line, int column, ICommand leftCommand, ICommand rightCommand)
           
 
Method Summary
protected  boolean callBooleanLeftCommand(BuildContext context)
           
protected  boolean callBooleanRightCommand(BuildContext context)
           
abstract  java.lang.String getSign()
           
 java.lang.String toString()
           
 
Methods inherited from class org.peaseplate.internal.lang.command.AbstractDoubleParameterCommand
callLeftCommand, callRightCommand, getLeftCommand, getRightCommand
 
Methods inherited from class org.peaseplate.internal.lang.command.AbstractCommand
getColumn, getLine, getLocator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.peaseplate.internal.lang.command.ICommand
call
 

Constructor Detail

AbstractBooleanCommand

public AbstractBooleanCommand(TemplateLocator locator,
                              int line,
                              int column,
                              ICommand leftCommand,
                              ICommand rightCommand)
Method Detail

callBooleanLeftCommand

protected boolean callBooleanLeftCommand(BuildContext context)
                                  throws TemplateRuntimeException
Throws:
TemplateRuntimeException

callBooleanRightCommand

protected boolean callBooleanRightCommand(BuildContext context)
                                   throws TemplateRuntimeException
Throws:
TemplateRuntimeException

getSign

public abstract java.lang.String getSign()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2008. All Rights Reserved.