org.peaseplate.internal.lang.command
Class OrCommand

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
              extended by org.peaseplate.internal.lang.command.OrCommand
All Implemented Interfaces:
ICommand

public class OrCommand
extends AbstractBooleanCommand


Constructor Summary
OrCommand(TemplateLocator locator, int line, int column, ICommand leftCommand, ICommand rightCommand)
           
 
Method Summary
 java.lang.Object call(BuildContext context)
           
 java.lang.String getSign()
           
 
Methods inherited from class org.peaseplate.internal.lang.command.AbstractBooleanCommand
callBooleanLeftCommand, callBooleanRightCommand, 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
 

Constructor Detail

OrCommand

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

getSign

public java.lang.String getSign()
Specified by:
getSign in class AbstractBooleanCommand
See Also:
AbstractNumericCommand.getSign()

call

public java.lang.Object call(BuildContext context)
                      throws TemplateRuntimeException
Throws:
TemplateRuntimeException
See Also:
ICommand.call(BuildContext)


Copyright © 2008. All Rights Reserved.