|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.nav2.impl.basic.AbstractFunction
net.ontopia.topicmaps.nav2.impl.basic.Function
public final class Function
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.
ModuleReader| Constructor Summary | |
|---|---|
Function(ModuleIF parentModule,
java.lang.String name,
JSPTreeNodeIF rootNode,
java.util.Collection params)
|
|
Function(ModuleIF parentModule,
java.lang.String name,
JSPTreeNodeIF rootNode,
java.util.Collection params,
java.lang.String returnVariableName)
|
|
Function(java.lang.String name,
JSPTreeNodeIF rootNode,
java.util.Collection params)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
call(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. |
java.lang.String |
getName()
INTERNAL: Gets the name of this function. |
java.util.Collection |
getParameters()
INTERNAL: Return the names of the parameters as an ordered Collection. |
java.lang.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. |
java.lang.String |
toString()
|
| Methods inherited from class net.ontopia.topicmaps.nav2.impl.basic.AbstractFunction |
|---|
execute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Function(java.lang.String name,
JSPTreeNodeIF rootNode,
java.util.Collection params)
public Function(ModuleIF parentModule,
java.lang.String name,
JSPTreeNodeIF rootNode,
java.util.Collection params)
public Function(ModuleIF parentModule,
java.lang.String name,
JSPTreeNodeIF rootNode,
java.util.Collection params,
java.lang.String returnVariableName)
| Method Detail |
|---|
public java.lang.String getName()
FunctionIF
getName in interface FunctionIFgetName in class AbstractFunctionpublic java.util.Collection getParameters()
FunctionIFCollection.
getParameters in interface FunctionIFgetParameters in class AbstractFunctionpublic java.lang.String getReturnVariableName()
FunctionIF
getReturnVariableName in interface FunctionIFgetReturnVariableName in class AbstractFunction
public void call(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.TagSupport callingTag)
throws java.io.IOException,
javax.servlet.jsp.JspException
FunctionIF
call in interface FunctionIFcall in class AbstractFunctionjava.io.IOException
javax.servlet.jsp.JspExceptionpublic JSPTreeNodeIF getRootNode()
FunctionIF
getRootNode in interface FunctionIFgetRootNode in class AbstractFunctionpublic ModuleIF getModule()
FunctionIF
getModule in interface FunctionIFgetModule in class AbstractFunctionpublic java.lang.String toString()
toString in class AbstractFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||