Package org.apache.jasper.util
Class UniqueAttributesImpl
java.lang.Object
org.xml.sax.helpers.AttributesImpl
org.apache.jasper.util.UniqueAttributesImpl
- All Implemented Interfaces:
Attributes
Wraps the default attributes implementation and ensures that each attribute
has a unique qname as required by the JSP specification.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
clear()
void
removeAttribute
(int index) void
void
setAttributes
(Attributes atts) void
-
Constructor Details
-
UniqueAttributesImpl
public UniqueAttributesImpl() -
UniqueAttributesImpl
public UniqueAttributesImpl(boolean pageDirective)
-
-
Method Details
-
clear
public void clear()- Overrides:
clear
in classAttributesImpl
-
setAttributes
- Overrides:
setAttributes
in classAttributesImpl
-
addAttribute
- Overrides:
addAttribute
in classAttributesImpl
-
setAttribute
public void setAttribute(int index, String uri, String localName, String qName, String type, String value) - Overrides:
setAttribute
in classAttributesImpl
-
removeAttribute
public void removeAttribute(int index) - Overrides:
removeAttribute
in classAttributesImpl
-
setQName
- Overrides:
setQName
in classAttributesImpl
-