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()
FunctionIF
Collection
.getParameters
in interface FunctionIF
public Collection execute(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.TagSupport callingTag) throws IOException, javax.servlet.jsp.JspException
FunctionIF
execute
in interface FunctionIF
IOException
javax.servlet.jsp.JspException
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
IOException
javax.servlet.jsp.JspException
public String getName()
FunctionIF
getName
in interface FunctionIF
public String getReturnVariableName()
FunctionIF
getReturnVariableName
in interface FunctionIF
public ModuleIF getModule()
FunctionIF
getModule
in interface FunctionIF
public JSPTreeNodeIF getRootNode()
FunctionIF
getRootNode
in interface FunctionIF