Class Function
java.lang.Object
net.ontopia.topicmaps.nav2.impl.basic.AbstractFunction
net.ontopia.topicmaps.nav2.impl.basic.Function
- All Implemented Interfaces:
FunctionIF
INTERNAL: A FunctionIF implementation used by the XML-based
ModuleIF reader code. The function evaluates the taglib tree node
in the context of the calling tag and the page context.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFunction(String name, JSPTreeNodeIF rootNode, Collection params) Default constructor.Function(ModuleIF parentModule, String name, JSPTreeNodeIF rootNode, Collection params) Function(ModuleIF parentModule, String name, JSPTreeNodeIF rootNode, Collection params, String returnVariableName) -
Method Summary
Modifier and TypeMethodDescriptionvoidcall(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()Methods inherited from class net.ontopia.topicmaps.nav2.impl.basic.AbstractFunction
execute
-
Constructor Details
-
Function
Default constructor.
-
-
Method Details
-
getName
Description copied from interface:FunctionIFINTERNAL: Gets the name of this function.- Specified by:
getNamein interfaceFunctionIF- Overrides:
getNamein classAbstractFunction- Returns:
- null
-
getParameters
Description copied from interface:FunctionIFINTERNAL: Return the names of the parameters as an orderedCollection.- Specified by:
getParametersin interfaceFunctionIF- Overrides:
getParametersin classAbstractFunction- Returns:
- Empty list
-
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- Overrides:
getReturnVariableNamein classAbstractFunction- Returns:
- null
-
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- Overrides:
callin classAbstractFunction- Throws:
IOExceptionjavax.servlet.jsp.JspException
-
getRootNode
Description copied from interface:FunctionIFINTERNAL: Gets the rode node of this Function.- Specified by:
getRootNodein interfaceFunctionIF- Overrides:
getRootNodein classAbstractFunction- Returns:
- null
-
getModule
Description copied from interface:FunctionIFINTERNAL: Gets the reference to the Module this function belongs to.- Specified by:
getModulein interfaceFunctionIF- Overrides:
getModulein classAbstractFunction- Returns:
- null
-
toString
- Overrides:
toStringin classAbstractFunction
-