Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts2.views
Interface TagLibrary

All Known Implementing Classes:
  DefaultTagLibrary

Deprecated. use two other interfaces: `TagLibraryDirectiveProvider`, `TagLibraryModelProvider`

    @Deprecated
    public interface TagLibrary

Provides Velocity and Freemarker implementation classes for a tag library

Method Summary
`Object` | `getFreemarkerModels(ValueStack stack, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)` Deprecated. Gets a Java object that contains getters for the tag library's Freemarker models.
`List<Class>` | `getVelocityDirectiveClasses()` Deprecated. Gets a list of Velocity directive classes for the tag library.

Method Detail

### getFreemarkerModels

    Object getFreemarkerModels(ValueStack stack,
                               javax.servlet.http.HttpServletRequest req,
                               javax.servlet.http.HttpServletResponse res)

  Deprecated.
  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

### getVelocityDirectiveClasses

    List<Class> getVelocityDirectiveClasses()

  Deprecated.
  Gets a list of Velocity directive classes for the tag library. Called once on framework startup when initializing Velocity.

  Returns:
    A list of Velocity directive classes

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000–2017 Apache Software Foundation. All rights reserved.