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(String uri,
String localName,
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(String uri, String localName, 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.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.