org.appng.api

## Interface GlobalXMLTaglet

- All Superinterfaces:
    XMLTaglet

      public interface GlobalXMLTaglet
      extends XMLTaglet

  A `GlobalXMLTaglet` is a specialized kind of a `XMLTaglet`. The `Site` that is calling the `GlobalXMLTaglet` can be different from the `Site` that is executing the call, whereas in a `XMLTaglet`, the calling and executing `Site` are always the same.
  Author:
    Matthias Müller

- - ### Method Summary

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

    - ### Methods inherited from interface org.appng.api.XMLTaglet

      `processTaglet`

- - ### Method Detail

    - #### processTaglet

          DataContainer processTaglet(Site callingSite,
                                      Site executingSite,
                                      Application application,
                                      Request request,
                                      Map<String,String> tagletAttributes)

      Executes the `GlobalTaglet` and returns a `String` to be embedded at the calling JSP-page.
      Parameters:
        `callingSite` - the `Site` where the original JSP-call came from
        `executingSite` - the `Site` in which the JSP-call will be executed
        `application` - the current `Application`
        `request` - the current `Request`
        `tagletAttributes` - a `Map` containing the attributes for the `XMLTaglet`
      Returns:
        a `DataContainer` to be marshaled to XML and transformed

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