Class HelloWorldFunction
- java.lang.Object
-
- net.ontopia.topicmaps.nav2.impl.basic.AbstractFunction
-
- net.ontopia.topicmaps.nav2.impl.basic.HelloWorldFunction
-
- All Implemented Interfaces:
FunctionIF
public class HelloWorldFunction extends AbstractFunction
INTERNAL: Implementation of FunctionIF interface for testing purposes. This class may also be used to demonstrate also the external function mechansimn.- See Also:
ExternalFunctionTag
-
-
Constructor Summary
Constructors Constructor Description HelloWorldFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection
execute(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.TagSupport callingTag)
INTERNAL: Executes this function in the specified context.-
Methods inherited from class net.ontopia.topicmaps.nav2.impl.basic.AbstractFunction
call, getModule, getName, getParameters, getReturnVariableName, getRootNode, toString
-
-
-
-
Method Detail
-
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:FunctionIF
INTERNAL: Executes this function in the specified context.- Specified by:
execute
in interfaceFunctionIF
- Overrides:
execute
in classAbstractFunction
- Returns:
- Collection The function return value collection. If null is returned, no value will be given to the parent value accepting tag.
- Throws:
IOException
javax.servlet.jsp.JspException
-
-