org.peaseplate.internal.lang.command
Class AbstractSingleParameterCommand

java.lang.Object
  extended by org.peaseplate.internal.lang.command.AbstractCommand
      extended by org.peaseplate.internal.lang.command.AbstractSingleParameterCommand
All Implemented Interfaces:
ICommand
Direct Known Subclasses:
AbstractNativeCallCommand, AbstractUnaryCommand, PopCommand

public abstract class AbstractSingleParameterCommand
extends AbstractCommand


Constructor Summary
AbstractSingleParameterCommand(TemplateLocator locator, int line, int column, ICommand command)
           
 
Method Summary
 java.lang.Object callCommand(BuildContext context)
           
 ICommand getCommand()
           
 
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, toString, wait, wait, wait
 
Methods inherited from interface org.peaseplate.internal.lang.command.ICommand
call
 

Constructor Detail

AbstractSingleParameterCommand

public AbstractSingleParameterCommand(TemplateLocator locator,
                                      int line,
                                      int column,
                                      ICommand command)
Method Detail

getCommand

public ICommand getCommand()

callCommand

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


Copyright © 2008. All Rights Reserved.