Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


org.eclipse.jet.taglib
Interface FunctionTag

All Superinterfaces:
CustomTag
All Known Implementing Classes:
AbstractFunctionTag

public interface FunctionTag
extends CustomTag

Define a JET2 function tag. A function tag has the following characteristics:

  • The tag must be of the form open tag (<myfunc>) and close tag(</myfunc>).
  • The tag rewrites its contents by evalating a function (via doFunction(TagInfo, JET2Context, String)).

  • Method Summary
     java.lang.String doFunction ( TagInfo td, JET2Context context, java.lang.String bodyContent)
              Calculate the re-written tag content.
     
    Methods inherited from interface org.eclipse.jet.taglib. CustomTag
    getAttribute, getKind, getOut, getParent, getRawAttribute, setContext, setOut, setParent, setTagInfo
     

    Method Detail

    doFunction

    java.lang.String doFunction(
    TagInfo td,
                                
    JET2Context context,
                                java.lang.String bodyContent)
                                throws 
    JET2TagException
    
    Calculate the re-written tag content.

    Parameters:
    td - the tag data (attribute values, ...)
    context - the JET2 execution context.
    bodyContent - the body content to be re-written.
    Returns:
    the re-written body content
    Throws:
    JET2TagException - if the method cannot complete successfully

    Copyright 2006 IBM Corporation and others.
    All Rights Reserved.


     
     
      Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire