Class 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 Detail

      • HelloWorldFunction

        public HelloWorldFunction()
    • 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 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:
        IOException
        javax.servlet.jsp.JspException