Home » freemarker-2.3.13 » freemarker.ext.beans » [javadoc | source]
class: OverloadedMethodModel [javadoc | source]

All Implemented Interfaces:
    TemplateSequenceModel, TemplateMethodModelEx

A class that will wrap a reflected method call into a freemarker.template.TemplateMethodModel interface. It is used by BeanModel to wrap reflected method calls for overloaded methods.
 public OverloadedMethodModel(Object object,
    MethodMap methodMap) 
Method from freemarker.ext.beans.OverloadedMethodModel Summary:
exec,   get,   size
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from freemarker.ext.beans.OverloadedMethodModel Detail:
 public Object exec(List arguments) throws TemplateModelException 
    Invokes the method, passing it the arguments from the list. The actual method to call from several overloaded methods will be chosen based on the classes of the arguments.
 public TemplateModel get(int index) throws TemplateModelException 
 public int size() throws TemplateModelException