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() |
executepublic 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()
FunctionIFgetName in interface FunctionIFgetName in class AbstractFunctionpublic Collection getParameters()
FunctionIFCollection.getParameters in interface FunctionIFgetParameters in class AbstractFunctionpublic String getReturnVariableName()
FunctionIFgetReturnVariableName in interface FunctionIFgetReturnVariableName in class AbstractFunctionpublic void call(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.TagSupport callingTag)
throws IOException,
javax.servlet.jsp.JspException
FunctionIFcall in interface FunctionIFcall in class AbstractFunctionIOExceptionjavax.servlet.jsp.JspExceptionpublic JSPTreeNodeIF getRootNode()
FunctionIFgetRootNode in interface FunctionIFgetRootNode in class AbstractFunctionpublic ModuleIF getModule()
FunctionIFgetModule in interface FunctionIFgetModule in class AbstractFunctionpublic String toString()
toString in class AbstractFunction