Class AttributeMap

java.lang.Object
java.util.AbstractMap<NamespaceName,String>
eu.bandm.tools.util.AttributeMap
All Implemented Interfaces:
Map<NamespaceName,String>

public class AttributeMap extends AbstractMap<NamespaceName,String>
Facade which adds standard behaviour to the SAX attributes implementation. The access methods allow more convenient and consistent transitions on the state of the attribute collection. Nevertheless they operate directly on the "peer object" of type AttributesImpl. Standardized "map interface" methods are available which reflect the state of this peer. A correct map semantics is assumed for the underlying implementing object, but not checked. So repeated keys are not detected, but ignored in an unspecified way.