Package org.apache.struts2.views

# Interface TagLibraryModelProvider

All Known Implementing Classes:
  `DefaultTagLibrary`

public interface TagLibraryModelProvider
Provides Freemarker implementation classes for a tag library

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `getModels(ValueStack stack, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)`
  Gets a Java object that contains getters for the tag library's Freemarker models.

- ## Method Details

  - ### getModels

    Object getModels(ValueStack stack, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)
    Gets a Java object that contains getters for the tag library's Freemarker models. Called once per Freemarker template processing.
    Parameters:
      `stack` - The current value stack
      `req` - The HTTP request
      `res` - The HTTP response
    Returns:
      The Java object containing the Freemarker model getter methods