de.spieleck.config
Class ConfigFileNode
java.lang.Object
de.spieleck.config.ConfigNodeImpl
de.spieleck.config.ConfigFileNode
- All Implemented Interfaces:
- ConfigNode, java.io.Serializable
- public class ConfigFileNode
- extends ConfigNodeImpl
- implements ConfigNode
A ConfigNode that is responsible for actually holding nodes
from a file. Note: Due to independance of logical and
file structure these nodes are only spurious in the logical part
of the tree. They are kept however to hold propper dependencies
of nodes on files.
- Author:
- fsn
- See Also:
- Serialized Form
Methods inherited from class de.spieleck.config.ConfigNodeImpl |
addChild, addChild, addChild, children, childrenNamed, copyChildren, countChildren, countChildrenNamed, getBoolean, getBoolean, getDouble, getDouble, getInhBoolean, getInhDouble, getInhInt, getInhString, getInt, getInt, getName, getParent, getPath, getSourceDescription, getSourceLine, getString, getString, getUnexpanded, getValue, node, nodeInh, printXML, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.spieleck.config.ConfigNode |
children, childrenNamed, countChildren, countChildrenNamed, getBoolean, getBoolean, getDouble, getDouble, getInhBoolean, getInhDouble, getInhInt, getInhString, getInt, getInt, getName, getParent, getPath, getSourceDescription, getString, getString, getUnexpanded, node, nodeInh, printXML |
fName
protected java.lang.String fName
inFile
protected java.io.File inFile
lastModified
protected long lastModified
subReadNodes
protected java.util.Set subReadNodes
setParent
protected void setParent(ConfigNode p)
- Overrides:
setParent
in class ConfigNodeImpl
addSubReader
protected void addSubReader(ConfigNode subReader)
getSourceFileName
public java.lang.String getSourceFileName()
- Overrides:
getSourceFileName
in class ConfigNodeImpl
- Returns:
- the name of the XML source where this node comes from.
getBranchNode
public ConfigFileNode getBranchNode()
- Description copied from interface:
ConfigNode
- Find the node responsible for reading this node from file.
- Specified by:
getBranchNode
in interface ConfigNode
- Overrides:
getBranchNode
in class ConfigNodeImpl
- Returns:
- the node responsible for reading the file.
Copyleft 2002 spieleck.de.