* the values of the arguments passed to the method.
* @return the <tt>TemplateModel</tt> produced by the method, or null.
*/
public Object exec(List arguments) {
if( arguments.size() == 0 ) {
return new SimpleScalar( "Empty list provided" );
} else if( arguments.size() > 1 ) {
return new SimpleScalar( "Argument size is: " + arguments.size() );
} else {
return new SimpleScalar( "Single argument value is: " + arguments.get(0) );
}
}