public abstract class AbstractFunction extends Object implements FunctionIF
Subclasses of this abstract function only have to implement the
getParameters() and execute() methods.
| Constructor and Description |
|---|
AbstractFunction() |
| 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.
|
Collection |
execute(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() |
public Collection getParameters()
FunctionIFCollection.getParameters in interface FunctionIFpublic Collection execute(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.TagSupport callingTag) throws IOException, javax.servlet.jsp.JspException
FunctionIFexecute in interface FunctionIFIOExceptionjavax.servlet.jsp.JspExceptionpublic void call(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.TagSupport callingTag)
throws IOException,
javax.servlet.jsp.JspException
FunctionIFcall in interface FunctionIFIOExceptionjavax.servlet.jsp.JspExceptionpublic String getName()
FunctionIFgetName in interface FunctionIFpublic String getReturnVariableName()
FunctionIFgetReturnVariableName in interface FunctionIFpublic ModuleIF getModule()
FunctionIFgetModule in interface FunctionIFpublic JSPTreeNodeIF getRootNode()
FunctionIFgetRootNode in interface FunctionIF