edu.umd.cs.findbugs.xml
public class XMLAttributeList extends Object
| Nested Class Summary | |
|---|---|
| static class | XMLAttributeList.NameValuePair |
| Constructor Summary | |
|---|---|
| XMLAttributeList()
Constructor.
| |
| Method Summary | |
|---|---|
| XMLAttributeList | addAttribute(String name, String value)
Add a single attribute name and value.
|
| XMLAttributeList | addOptionalAttribute(String name, String value)
Add a single attribute name and value.
|
| static String | getQuotedAttributeValue(String rawValue)
Return a properly quoted form for an attribute value. |
| Iterator<XMLAttributeList.NameValuePair> | iterator()
Return an Iterator over NameValuePairs. |
Parameters: name the attribute name value the attribute value
Returns: this object (so calls to addAttribute() can be chained)
Parameters: name the attribute name value the attribute value
Returns: this object (so calls to addAttribute() can be chained)
Parameters: rawValue the raw value of the attribute
Returns: a properly quoted representation of the value