public class ConfigItemMapNamed extends Object implements ConfigItemCollection<ConfigItemMapEntry>
| Constructor and Description |
|---|
ConfigItemMapNamed(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendXMLContent(XMLUtil util,
Appendable appendable)
Write the XML format for this object.
|
void |
clear()
Clears this item.
|
boolean |
contains(String name) |
ConfigItemMapEntry |
getByName(String name) |
String |
getName() |
boolean |
isEmpty() |
Iterator<ConfigItemMapEntry> |
iterator() |
ConfigItemMapEntry |
put(ConfigItemMapEntry value) |
ConfigItemMapEntry |
removeByName(String name) |
int |
size() |
public ConfigItemMapNamed(String name)
name - the name of this itempublic String getName()
getName in interface ConfigBlockpublic int size()
size in interface ConfigItemCollection<ConfigItemMapEntry>public boolean isEmpty()
isEmpty in interface ConfigItemCollection<ConfigItemMapEntry>public boolean contains(String name)
name - the name to look forpublic ConfigItemMapEntry getByName(String name)
name - the name to look forpublic ConfigItemMapEntry put(ConfigItemMapEntry value)
value - the value to add. It's name will be the keypublic ConfigItemMapEntry removeByName(String name)
name - the name to look forpublic Iterator<ConfigItemMapEntry> iterator()
iterator in interface ConfigItemCollection<ConfigItemMapEntry>public void appendXMLContent(XMLUtil util, Appendable appendable) throws IOException
XMLConvertibleappendXMLContent in interface XMLConvertibleutil - a helper objectappendable - the appendable to append data toIOException - if the style can't be addedpublic void clear()
Copyright © 2016–2021. All rights reserved.