Default implementation of the Attributes interface.
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY . See http://www.saxproject.org for further information.
This class provides a default implementation of the SAX2 Attributes
interface, with the addition of manipulators so that the list can be modified or reused.
There are two typical uses of this class:
- to take a persistent snapshot of an Attributes object in a
startElement
event; or
- to construct or modify an Attributes object in a SAX2 driver or filter.
This class replaces the now-deprecated SAX1 AttributeListImpl
class; in addition to supporting the updated Attributes interface rather than the deprecated AttributeList
interface, it also includes a much more efficient implementation using a single array rather than a set of Vectors.