public final class Function extends AbstractFunction
ModuleReader
Constructor and Description |
---|
Function(ModuleIF parentModule,
String name,
JSPTreeNodeIF rootNode,
Collection params) |
Function(ModuleIF parentModule,
String name,
JSPTreeNodeIF rootNode,
Collection params,
String returnVariableName) |
Function(String name,
JSPTreeNodeIF rootNode,
Collection params)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
call(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.TagSupport callingTag)
INTERNAL: Executes this function in the specified context.
|
ModuleIF |
getModule()
INTERNAL: Gets the reference to the Module this function belongs
to.
|
String |
getName()
INTERNAL: Gets the name of this function.
|
Collection |
getParameters()
INTERNAL: Return the names of the parameters as an ordered
Collection . |
String |
getReturnVariableName()
INTERNAL: Gets the name of the variable to which the return value
of the function should be assigned to.
|
JSPTreeNodeIF |
getRootNode()
INTERNAL: Gets the rode node of this Function.
|
String |
toString() |
execute
public Function(String name, JSPTreeNodeIF rootNode, Collection params)
public Function(ModuleIF parentModule, String name, JSPTreeNodeIF rootNode, Collection params)
public Function(ModuleIF parentModule, String name, JSPTreeNodeIF rootNode, Collection params, String returnVariableName)
public String getName()
FunctionIF
getName
in interface FunctionIF
getName
in class AbstractFunction
public Collection getParameters()
FunctionIF
Collection
.getParameters
in interface FunctionIF
getParameters
in class AbstractFunction
public String getReturnVariableName()
FunctionIF
getReturnVariableName
in interface FunctionIF
getReturnVariableName
in class AbstractFunction
public void call(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.TagSupport callingTag) throws IOException, javax.servlet.jsp.JspException
FunctionIF
call
in interface FunctionIF
call
in class AbstractFunction
IOException
javax.servlet.jsp.JspException
public JSPTreeNodeIF getRootNode()
FunctionIF
getRootNode
in interface FunctionIF
getRootNode
in class AbstractFunction
public ModuleIF getModule()
FunctionIF
getModule
in interface FunctionIF
getModule
in class AbstractFunction
public String toString()
toString
in class AbstractFunction