Package eu.simuline.util.sgml
Class SGMLParser.AttributesWrapper
- java.lang.Object
-
- eu.simuline.util.sgml.SGMLParser.AttributesWrapper
-
- Enclosing class:
- SGMLParser
class SGMLParser.AttributesWrapper extends Object
An **** 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<String,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(String attName, String attValue)Adds an attribute with the given name and value.(package private) AttributesgetAttributes()
-
-
-
Method Detail
-
addAttribute
void addAttribute(String attName, 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
Attributes getAttributes()
-
-