Class AbstractFunction
java.lang.Object
net.ontopia.topicmaps.nav2.impl.basic.AbstractFunction
- All Implemented Interfaces:
FunctionIF
- Direct Known Subclasses:
DisplayHierarchyFunction,Function,HelloWorldFunction
INTERNAL: Abstract implementation of FunctionIF, which should be the
superclass for customized functions.
Subclasses of this abstract function only have to implement the
getParameters() and execute() methods.
- Since:
- 1.3.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcall(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.TagSupport callingTag) INTERNAL: Executes this function in the specified context.execute(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.TagSupport callingTag) INTERNAL: Executes this function in the specified context.INTERNAL: Gets the reference to the Module this function belongs to.getName()INTERNAL: Gets the name of this function.INTERNAL: Return the names of the parameters as an orderedCollection.INTERNAL: Gets the name of the variable to which the return value of the function should be assigned to.INTERNAL: Gets the rode node of this Function.toString()
-
Constructor Details
-
AbstractFunction
public AbstractFunction()
-
-
Method Details
-
getParameters
Description copied from interface:FunctionIFINTERNAL: Return the names of the parameters as an orderedCollection.- Specified by:
getParametersin interfaceFunctionIF- Returns:
- Empty list
-
execute
public Collection execute(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.TagSupport callingTag) throws IOException, javax.servlet.jsp.JspException Description copied from interface:FunctionIFINTERNAL: Executes this function in the specified context.- Specified by:
executein interfaceFunctionIF- Returns:
- Collection The function return value collection. If null is returned, no value will be given to the parent value accepting tag.
- Throws:
IOExceptionjavax.servlet.jsp.JspException
-
call
public void call(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.TagSupport callingTag) throws IOException, javax.servlet.jsp.JspException Description copied from interface:FunctionIFINTERNAL: Executes this function in the specified context.- Specified by:
callin interfaceFunctionIF- Throws:
IOExceptionjavax.servlet.jsp.JspException
-
getName
Description copied from interface:FunctionIFINTERNAL: Gets the name of this function.- Specified by:
getNamein interfaceFunctionIF- Returns:
- null
-
getReturnVariableName
Description copied from interface:FunctionIFINTERNAL: Gets the name of the variable to which the return value of the function should be assigned to. Returns null if no return variable name was specified.- Specified by:
getReturnVariableNamein interfaceFunctionIF- Returns:
- null
-
getModule
Description copied from interface:FunctionIFINTERNAL: Gets the reference to the Module this function belongs to.- Specified by:
getModulein interfaceFunctionIF- Returns:
- null
-
getRootNode
Description copied from interface:FunctionIFINTERNAL: Gets the rode node of this Function.- Specified by:
getRootNodein interfaceFunctionIF- Returns:
- null
-
toString
-