org.peaseplate.internal.lang.command
Class InlineConditionCommand

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.InlineConditionCommand
All Implemented Interfaces:
ICommand

public class InlineConditionCommand
extends AbstractDoubleParameterCommand


Constructor Summary
InlineConditionCommand(TemplateLocator locator, int line, int column, ICommand condition, ICommand leftCommand, ICommand rightCommand)
           
 
Method Summary
 java.lang.Object call(BuildContext context)
           
 ICommand getCondition()
           
 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
 

Constructor Detail

InlineConditionCommand

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

getCondition

public ICommand getCondition()

call

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

toString

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


Copyright © 2008. All Rights Reserved.