A parser developer may choose to write classes that implement the interfaces described above, and add further useful methods. As before, the standard includes some recommendations for helper classes. All the helpers defined for SAX 1.0 are retained for backward compatibility, but several new ones have been added to support the new interfaces.
The AttributesImpl helper class has the following constructors and methods. It implements the Attributes interface and adds methods for creating, removing and changing the name, value or type of an attribute.
attributesImpl(); attributesImpl(Attributes atts);
void setAttribute(int index, String uri, String localName, String qName, ...