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.
body, context, parent
Constructor and Description |
---|
MapTagSupport() |
Modifier and Type | Method and Description |
---|---|
protected Map |
createAttributes()
A Factory Method which allows derived tags to overload the Map
implementation used by this tag
|
protected Map |
getAttributes()
Helper method which allows derived tags to access the attributes
associated with this tag
|
void |
setAttribute(String name,
Object value)
Sets an attribute value of this tag before the tag is invoked
|
getAttributeType
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doTag, getBody, getContext, getParent, invokeBody, setBody, setContext, setParent
public void setAttribute(String name, Object value)
protected Map getAttributes()
protected Map createAttributes()
Copyright © 2014 Apache Software Foundation. All rights reserved.