net.ontopia.topicmaps.nav2.impl.basic
Class HelloWorldFunction

java.lang.Object
  extended by net.ontopia.topicmaps.nav2.impl.basic.AbstractFunction
      extended by 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
HelloWorldFunction()
           
 
Method Summary
 java.util.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HelloWorldFunction

public HelloWorldFunction()
Method Detail

execute

public java.util.Collection execute(javax.servlet.jsp.PageContext pageContext,
                                    javax.servlet.jsp.tagext.TagSupport callingTag)
                             throws java.io.IOException,
                                    javax.servlet.jsp.JspException
Description copied from interface: FunctionIF
INTERNAL: Executes this function in the specified context.

Specified by:
execute in interface FunctionIF
Overrides:
execute in class AbstractFunction
Returns:
Collection The function return value collection. If null is returned, no value will be given to the parent value accepting tag.
Throws:
java.io.IOException
javax.servlet.jsp.JspException


Copyright © 2000-2012 Ontopia.