public class ConfigItemSet extends Object implements ConfigItemCollection<ConfigBlock>
| Constructor and Description |
|---|
ConfigItemSet(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ConfigBlock configBlock) |
void |
appendXMLContent(XMLUtil util,
Appendable appendable)
Write the XML format for this object.
|
boolean |
contains(String name) |
ConfigBlock |
getByName(String name) |
String |
getName() |
boolean |
isEmpty() |
Iterator<ConfigBlock> |
iterator() |
void |
removeByName(String name) |
int |
size() |
public ConfigItemSet(String name)
name - the name of this ConfigSetpublic String getName()
getName in interface ConfigBlockpublic 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 int size()
size in interface ConfigItemCollection<ConfigBlock>public boolean isEmpty()
isEmpty in interface ConfigItemCollection<ConfigBlock>public Iterator<ConfigBlock> iterator()
iterator in interface ConfigItemCollection<ConfigBlock>public void add(ConfigBlock configBlock)
configBlock - the block to addpublic boolean contains(String name)
name - the name to look forpublic void removeByName(String name)
name - the name to look forpublic ConfigBlock getByName(String name)
name - the name to look forCopyright © 2016–2021. All rights reserved.