public interface DynamicAttributes
setDynamicAttribute()
method is called, with the name and value of the attribute.
It is the responsibility of the tag to remember the names and values of the dynamic attributes.Modifier and Type | Method and Description |
---|---|
void |
setDynamicAttribute(java.lang.String uri,
java.lang.String localName,
java.lang.Object value)
Called when a tag declared to accept dynamic attributes is passed an attribute that is not declared in the Tag
Library Descriptor.
|
void setDynamicAttribute(java.lang.String uri, java.lang.String localName, java.lang.Object value) throws JspException
uri
- the namespace of the attribute, or null if in the default namespace.localName
- the name of the attribute being set.value
- the value of the attributeJspException
- if the tag handler wishes to signal that it does not accept the given attribute. The
container must not call doStartTag() or doTag() for this tag.