Module ilusr.persistencelib
Interface IXmlConfigurationObject
-
- All Known Implementing Classes:
XmlConfigurationObject
public interface IXmlConfigurationObject- Author:
- Jeff Riggle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddChild(PersistXml child)voidaddChildren(List<PersistXml> children)voidaddConfigurationProperties(List<ConfigurationProperty> properties)voidaddConfigurationProperty(ConfigurationProperty property)List<PersistXml>children()voidclearChildren()Removes all @see PersistXml children from this Xml Configuration object.voidclearConfigurationProperties()Remove all @see ConfigurationProperty from this Xml Configuration object.List<ConfigurationProperty>configurationProperties()XmlConfigurationObjectgetChildObject(String name)<T> TgetChildValue(String name)Stringname()voidname(String name)voidremoveChild(PersistXml child)voidremoveChildren(List<PersistXml> children)voidremoveConfigurationProperties(List<ConfigurationProperty> properties)voidremoveConfigurationProperty(ConfigurationProperty property)<T> Tvalue()<T> voidvalue(T value)
-
-
-
Method Detail
-
name
String name()
- Returns:
- The name of the Xml Configuration object.
-
name
void name(String name)
- Parameters:
name- The new name for the Xml Configuration object.
-
configurationProperties
List<ConfigurationProperty> configurationProperties()
- Returns:
- A list of @see ConfigurationProperty associated with this Xml Configuration object.
-
addConfigurationProperty
void addConfigurationProperty(ConfigurationProperty property)
- Parameters:
property-- See Also:
to add to this Xml Configuration object.
-
addConfigurationProperties
void addConfigurationProperties(List<ConfigurationProperty> properties)
- Parameters:
properties- List of @see ConfigurationProperty to add to this Xml Configuration object.
-
removeConfigurationProperty
void removeConfigurationProperty(ConfigurationProperty property)
- Parameters:
property-- See Also:
to remove from this Xml Configuration object.
-
removeConfigurationProperties
void removeConfigurationProperties(List<ConfigurationProperty> properties)
- Parameters:
properties- List of @see ConfigurationProperty to remove from this Xml Configuration object.
-
clearConfigurationProperties
void clearConfigurationProperties()
Remove all @see ConfigurationProperty from this Xml Configuration object.
-
children
List<PersistXml> children()
- Returns:
- List of @see PersistXml associated with this Xml Configuration object.
-
addChild
void addChild(PersistXml child)
- Parameters:
child-- See Also:
to add to this Xml Configuration object.
-
addChildren
void addChildren(List<PersistXml> children)
- Parameters:
children- List of @see PersistXml to add to this Xml Configuration object.
-
removeChild
void removeChild(PersistXml child)
- Parameters:
child-- See Also:
to remove from this Xml Configuration object.
-
removeChildren
void removeChildren(List<PersistXml> children)
- Parameters:
children- List of @see PersistXml to remove from this Xml Configuration object.
-
clearChildren
void clearChildren()
Removes all @see PersistXml children from this Xml Configuration object.
-
value
<T> T value()
- Returns:
- The value associated with this Xml Configuration object.
-
value
<T> void value(T value)
- Parameters:
value- The new value to associated with this Xml Configuration object.
-
getChildObject
XmlConfigurationObject getChildObject(String name)
- Parameters:
name- The String name associated with the Configuration object.- Returns:
- The child @see XmlConfigurationObject.
-
getChildValue
<T> T getChildValue(String name)
- Parameters:
name- name The String name associated with the Configuration object.- Returns:
- name The value associated with the Configuration object.
-
-