|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.primordion.xholon.io.Snapshot
org.primordion.xholon.io.SnapshotYAML
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.
http://www.yaml.org/| Constructor Summary | |
SnapshotYAML()
Constructor. |
|
| Method Summary | |
void |
saveSnapshot(IXholon snRoot,
java.lang.String modelName)
Save a timestamped snapshot to an XML file. |
| Methods inherited from class org.primordion.xholon.io.Snapshot |
getPathName, getSnapshotTostring, setPathName, setSnapshotTostring |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SnapshotYAML()
| Method Detail |
public void saveSnapshot(IXholon snRoot,
java.lang.String modelName)
saveSnapshot in interface ISnapshotsnRoot - Root of the tree to be saved in the snapshot file.modelName - Name of the model.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||