org.peaseplate.internal.lang.command
Class AbstractNativeCallCommand

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

public abstract class AbstractNativeCallCommand
extends AbstractSingleParameterCommand


Constructor Summary
AbstractNativeCallCommand(TemplateLocator locator, int line, int column, ICommand command, ICommand... parameterCommands)
           
 
Method Summary
 java.lang.Object callCommand(BuildContext context)
           
 int getNumberOfParameters()
           
 ICommand[] getParameterCommands()
           
 boolean hasParameters()
           
 java.lang.String toString()
           
 
Methods inherited from class org.peaseplate.internal.lang.command.AbstractSingleParameterCommand
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, wait, wait, wait
 
Methods inherited from interface org.peaseplate.internal.lang.command.ICommand
call
 

Constructor Detail

AbstractNativeCallCommand

public AbstractNativeCallCommand(TemplateLocator locator,
                                 int line,
                                 int column,
                                 ICommand command,
                                 ICommand... parameterCommands)
Method Detail

getParameterCommands

public ICommand[] getParameterCommands()

hasParameters

public boolean hasParameters()

getNumberOfParameters

public int getNumberOfParameters()

callCommand

public java.lang.Object callCommand(BuildContext context)
                             throws TemplateRuntimeException
Overrides:
callCommand in class AbstractSingleParameterCommand
Throws:
TemplateRuntimeException
See Also:
AbstractSingleParameterCommand.callCommand(BuildContext)

toString

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


Copyright © 2008. All Rights Reserved.