Class MapTagSupport

All Implemented Interfaces:
DynaTag, Tag
Direct Known Subclasses:
SetPropertiesTag, UseBeanTag

public abstract class MapTagSupport extends DynaTagSupport

MapTag is a DynaTag implementation which uses a Map to store its attribute values in. Derived tags can then process this Map, change values, add or remove attributes or perform some other form of processsing pretty easily.

Version:
$Revision: 155420 $
Author:
James Strachan
  • Constructor Details

    • MapTagSupport

      public MapTagSupport()
  • Method Details

    • setAttribute

      public void setAttribute(String name, Object value)
      Sets an attribute value of this tag before the tag is invoked
    • getAttributes

      protected Map getAttributes()
      Helper method which allows derived tags to access the attributes associated with this tag
    • createAttributes

      protected Map createAttributes()
      A Factory Method which allows derived tags to overload the Map implementation used by this tag