Package eu.simuline.util.sgml
Class SGMLParser.AttributesWrapper
- java.lang.Object
-
- eu.simuline.util.sgml.SGMLParser.AttributesWrapper
-
- Enclosing class:
- SGMLParser
class SGMLParser.AttributesWrapper extends java.lang.ObjectAn **** partial **** implementation of the SAX-interfaceAttributeswhich allows to set name-value-pairs by methodaddAttribute(java.lang.String, java.lang.String).
-
-
Field Summary
Fields Modifier and Type Field Description private ListMap<java.lang.String,java.lang.String>name2value
-
Constructor Summary
Constructors Constructor Description AttributesWrapper()Creates a new emptyAttributesWrapperwhich represents an empty attribute list.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidaddAttribute(java.lang.String attName, java.lang.String attValue)Adds an attribute with the given name and value.(package private) org.xml.sax.AttributesgetAttributes()
-
-
-
Field Detail
-
name2value
private final ListMap<java.lang.String,java.lang.String> name2value
-
-
Method Detail
-
addAttribute
void addAttribute(java.lang.String attName, java.lang.String attValue)Adds an attribute with the given name and value.- Parameters:
attName- theStringrepresentation of the name of an attribute.attValue- the value of an attribute as aString. If no value is provided, this isAttributesImpl.NO_VALUE.
-
getAttributes
org.xml.sax.Attributes getAttributes()
-
-