org.peaseplate.internal.lang.command
Class ComplementCommand

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

public class ComplementCommand
extends AbstractUnaryCommand


Constructor Summary
ComplementCommand(TemplateLocator locator, int line, int column, ICommand command)
           
 
Method Summary
 java.lang.Object call(BuildContext context)
           
protected  java.lang.Object complementOf(java.lang.Object value)
           
 java.lang.String getSign()
           
 
Methods inherited from class org.peaseplate.internal.lang.command.AbstractUnaryCommand
toString
 
Methods inherited from class org.peaseplate.internal.lang.command.AbstractSingleParameterCommand
callCommand, 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

ComplementCommand

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

getSign

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

call

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

complementOf

protected java.lang.Object complementOf(java.lang.Object value)
                                 throws TemplateRuntimeException
Throws:
TemplateRuntimeException


Copyright © 2008. All Rights Reserved.