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 void
addChild(PersistXml child)
void
addChildren(List<PersistXml> children)
void
addConfigurationProperties(List<ConfigurationProperty> properties)
void
addConfigurationProperty(ConfigurationProperty property)
List<PersistXml>
children()
void
clearChildren()
Removes all @see PersistXml children from this Xml Configuration object.void
clearConfigurationProperties()
Remove all @see ConfigurationProperty from this Xml Configuration object.List<ConfigurationProperty>
configurationProperties()
XmlConfigurationObject
getChildObject(String name)
<T> T
getChildValue(String name)
String
name()
void
name(String name)
void
removeChild(PersistXml child)
void
removeChildren(List<PersistXml> children)
void
removeConfigurationProperties(List<ConfigurationProperty> properties)
void
removeConfigurationProperty(ConfigurationProperty property)
<T> T
value()
<T> void
value(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.
-
-