org.peaseplate.internal.lang.command
Class TransformerCommand

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

public class TransformerCommand
extends AbstractNativeCallCommand


Constructor Summary
TransformerCommand(TemplateLocator locator, int line, int column, TransformerService transformerService, java.lang.String name, java.lang.String extension, ICommand command, ICommand... parameterCommands)
           
 
Method Summary
 java.lang.Object call(BuildContext context)
           
 java.lang.String toString()
           
 
Methods inherited from class org.peaseplate.internal.lang.command.AbstractNativeCallCommand
callCommand, getNumberOfParameters, getParameterCommands, hasParameters
 
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
 

Constructor Detail

TransformerCommand

public TransformerCommand(TemplateLocator locator,
                          int line,
                          int column,
                          TransformerService transformerService,
                          java.lang.String name,
                          java.lang.String extension,
                          ICommand command,
                          ICommand... parameterCommands)
                   throws TemplateParserException
Throws:
TemplateParserException
Method Detail

call

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

toString

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


Copyright © 2008. All Rights Reserved.