public class ConfigItem extends Object implements ConfigBlock
| Constructor and Description |
|---|
ConfigItem(String name,
String type,
String value)
Create an item for name, type and value
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendXMLContent(XMLUtil util,
Appendable appendable)
Write the XML format for this object.
|
static ConfigItem |
create(ConfigElement element,
String value) |
String |
getName()
Get the name of this ConfigItem.
|
String |
getType() |
String |
getValue() |
void |
setValue(String value)
Set the value of the item
|
public static ConfigItem create(ConfigElement element, String value)
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 String getName()
getName in interface ConfigBlockpublic String getType()
public String getValue()
public void setValue(String value)
value - the value of the itemCopyright © 2016–2021. All rights reserved.