public Object exec(List arguments) throws TemplateModelException { return simpleMethodModel.exec(arguments); }
public Object exec(List arguments) throws TemplateModelException { return simpleMethodModel.exec(arguments); }
public TemplateModel get(int index) throws TemplateModelException { return (TemplateModel) exec(Collections.singletonList( new SimpleNumber(Integer.valueOf(index)))); }
public Object exec(List arguments) throws TemplateModelException { return simpleMethodModel.exec(arguments); }
public Object exec(List arguments) throws TemplateModelException { return simpleMethodModel.exec(arguments); }
public Object exec(List arguments) throws TemplateModelException { return simpleMethodModel.exec(arguments); }
public Object exec(List arguments) throws TemplateModelException { return simpleMethodModel.exec(arguments); }
public TemplateModel get(int index) throws TemplateModelException { return (TemplateModel) exec(Collections.singletonList( new SimpleNumber(Integer.valueOf(index)))); }
public TemplateModel get(int index) throws TemplateModelException { return (TemplateModel) exec(Collections.singletonList( new SimpleNumber(Integer.valueOf(index)))); }
public TemplateModel get(int index) throws TemplateModelException { return (TemplateModel) exec(Collections12.singletonList( new SimpleNumber(new Integer(index)))); }
SimpleMethodModel methodModel = (SimpleMethodModel)model.get(methodName); try { Object result = methodModel.exec(null); ObjectWrapper wrapper = getWrapper(model); TemplateModel wrappedResult = wrapper.wrap(result);