Package net.ontopia.topicmaps.nav2.core
Interface FunctionIF
- All Known Implementing Classes:
AbstractFunction,DisplayHierarchyFunction,Function,HelloWorldFunction
public interface FunctionIF
INTERNAL: Implemented by an object which represents a executable
function within the navigator framework. It is comparable to a
macro definition and can be used as an shortcut in a
JSP-environment together with Ontopia's taglibs.
See logic:externalFunction for how to register your own function with the tag libraries. The function can later be executed using logic:call.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcall(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.TagSupport callingTag) Deprecated.1.3.4.execute(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.TagSupport callingTag) INTERNAL: Executes this function in the specified context.Deprecated.This method is not used, and need not be implemented.getName()Deprecated.1.3.4.INTERNAL: Return the names of the parameters as an orderedCollection.Deprecated.1.3.4.Deprecated.This method is not used, and need not be implemented.
-
Method Details
-
getParameters
Collection getParameters()INTERNAL: Return the names of the parameters as an orderedCollection. -
execute
Collection execute(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.TagSupport callingTag) throws IOException, javax.servlet.jsp.JspException INTERNAL: Executes this function in the specified context.- 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
@Deprecated void call(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.TagSupport callingTag) throws IOException, javax.servlet.jsp.JspException Deprecated.1.3.4. UseObject call(PageContext)instead.INTERNAL: Executes this function in the specified context.- Throws:
IOExceptionjavax.servlet.jsp.JspException
-
getName
Deprecated.1.3.4. Function names are now stored outside the function object itself.INTERNAL: Gets the name of this function. -
getReturnVariableName
Deprecated.1.3.4. Return function value from theObject call(PageContext)method instead.INTERNAL: 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.- Since:
- 1.3
-
getRootNode
Deprecated.This method is not used, and need not be implemented.INTERNAL: Gets the rode node of this Function. -
getModule
Deprecated.This method is not used, and need not be implemented.INTERNAL: Gets the reference to the Module this function belongs to.
-