class SGMLParser.AttributesWrapper extends Object
Attributes
which allows to set name-value-pairs by method addAttribute(java.lang.String, java.lang.String).| Modifier and Type | Field and Description |
|---|---|
private ListMap<String,String> |
name2value
|
| Constructor and Description |
|---|
AttributesWrapper()
Creates a new empty
AttributesWrapper
which represents an empty attribute list. |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addAttribute(String attName,
String attValue)
Adds an attribute with the given name and value.
|
(package private) Attributes |
getAttributes() |
AttributesWrapper()
AttributesWrapper
which represents an empty attribute list.void addAttribute(String attName, String attValue)
attName - the String representation
of the name of an attribute.attValue - the value of an attribute as a String.
If no value is provided,
this is AttributesImpl.NO_VALUE.Attributes getAttributes()
Copyright © 2012–2018 Simuline Organization (l2r). All rights reserved.