org.appng.api

## Interface Taglet

- All Known Subinterfaces:
    GlobalTaglet

      public interface Taglet

  A `Taglet` can be used inside a JSP-Page to embed (static or dynamic) content that is retrieved from a `Application`.
  A `Taglet` is used as follows (`method` refers to bean name of the implementing class):

       <%@taglib uri="http://appng.org/tags" prefix="appNG" %>

       <appNG:taglet application="application-name" method="taglet-name">
           <param:anAttribute>aValue</param:anAttribute>
       </appNG:taglet>

  Every `<param>` is passed in as a taglet-attribute.
  Author:
    Matthias Müller
  See Also:
    `XMLTaglet`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `processTaglet(Site site, Application application, Request request, Map<String,String> tagletAttributes)` Executes the `Taglet` and returns a `String` to be embedded at the calling JSP-page.

- - ### Method Detail

    - #### processTaglet

          String processTaglet(Site site,
                               Application application,
                               Request request,
                               Map<String,String> tagletAttributes)

      Executes the `Taglet` and returns a `String` to be embedded at the calling JSP-page.
      Parameters:
        `site` - the current `Site`
        `application` - the current `Application`
        `request` - the current `Request`
        `tagletAttributes` - a `Map` containing the attributes for the `Taglet`
      Returns:
        a String to be embedded into the calling JSP

Copyright © 2011–2023 aiticon GmbH. All rights reserved.