net.groboclown.xml.xdstates.v1.impl
Class DataListX
java.lang.Object
|
+--net.groboclown.xml.xdstates.v1.impl.DataListX
- All Implemented Interfaces:
- IDataList
- public class DataListX
- extends Object
- implements IDataList
Other than the properties, the data is read-only.
- Version:
- Alpha 0.9.0 - JDK 1.0+
- Author:
- Matt Albrecht
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
props
private Properties props
changedProps
private Properties changedProps
macro
private Properties macro
items
private IItem[] items
DataListX
public DataListX(Properties defaultProps)
DataListX
public DataListX(IDataList orig,
IItem[] items)
DataListX
public DataListX(IDataList orig,
ISet set,
IItem[] items)
getItems
public IItem[] getItems()
- Description copied from interface:
IDataList
- The current list of contained items, having gone through any
necessary permutations.
- Specified by:
getItems
in interface IDataList
copyProperties
public Properties copyProperties()
- Description copied from interface:
IDataList
- The current ISet node.
- Specified by:
copyProperties
in interface IDataList
setProperty
public void setProperty(String name,
String value)
- Specified by:
setProperty
in interface IDataList
setProperties
public void setProperties(Properties subset)
- Batch change of a set of properties. Also changes the
changed properties.
getProperty
public String getProperty(String name)
- Specified by:
getProperty
in interface IDataList
getProperty
public String getProperty(String name,
String defaultValue)
- Specified by:
getProperty
in interface IDataList
setMacroProperty
public void setMacroProperty(String name,
String value)
- Specified by:
setMacroProperty
in interface IDataList
getMacroProperty
public String getMacroProperty(String name)
- Specified by:
getMacroProperty
in interface IDataList
getMacroProperty
public String getMacroProperty(String name,
String defaultValue)
- Specified by:
getMacroProperty
in interface IDataList
clearMacroProperties
public void clearMacroProperties()
- Specified by:
clearMacroProperties
in interface IDataList
clearChangedProperties
public void clearChangedProperties()
- Clears the internal list of properties that have been changed.
copyChangedProperties
public Properties copyChangedProperties()
- Returns a copy of the properties that have been changed since the
last call to clearChangedProperties.
Written under the LGPL