- All Implemented Interfaces:
- public class SnapshotYAML
- extends Snapshot
- implements ISnapshot
Take a shapshot of an entire Xholon tree.
It saves the snapshot in YAML "key: value" format.
The resulting file is intended to be used for debugging,
and as a quick global view of the structure.
It is NOT intended as a formal serialization.
For each node it includes the node name as the YAML key,
and the result of calling toString() as the YAML value.
- 0.5 (Created on February 19, 2007)
- Ken Webb
- See Also:
Save a timestamped snapshot to an XML file.
|Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void saveSnapshot(IXholon snRoot,
- Save a timestamped snapshot to an XML file.
- Specified by:
saveSnapshot in interface
snRoot - Root of the tree to be saved in the snapshot file.
modelName - Name of the model.