org.apache.struts2.views
Class DefaultTagLibrary
java.lang.Object
org.apache.struts2.views.DefaultTagLibrary
- All Implemented Interfaces:
- TagLibrary
public class DefaultTagLibrary
- extends Object
- implements TagLibrary
The default Struts tag library
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTagLibrary
public DefaultTagLibrary()
getFreemarkerModels
public Object getFreemarkerModels(ValueStack stack,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
- Description copied from interface:
TagLibrary
- Gets a Java object that contains getters for the tag library's Freemarker models.
Called once per Freemarker template processing.
- Specified by:
getFreemarkerModels
in interface TagLibrary
- Parameters:
stack
- The current value stackreq
- The HTTP requestres
- The HTTP response
- Returns:
- The Java object containing the Freemarker model getter methods
getVelocityDirectiveClasses
public List<Class> getVelocityDirectiveClasses()
- Description copied from interface:
TagLibrary
- Gets a list of Velocity directive classes for the tag library. Called once on framework
startup when initializing Velocity.
- Specified by:
getVelocityDirectiveClasses
in interface TagLibrary
- Returns:
- A list of Velocity directive classes
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.