|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ThingsPropertyTree
Property tree interface. Property trees contained name attributes in a
hierarchical scheme.
home:level1.level2.leveln.item
Version History
EPG - Initial - 24 JUL 04
| Method Summary | |
|---|---|
void |
copyAndGraftBranch(java.lang.String sourceBranchPath,
java.lang.String graftRoot)
Copy a branch and graft it somewhere else. |
ThingsPropertyTree |
copyBranch(java.lang.String branchPath)
Copy a branch of the tree as a new tree. |
ThingsPropertyView |
getBranch(java.lang.String path)
Get a view of a branch on the tree. |
ThingsPropertyView |
getRoot()
Get a view from the root. |
void |
infliltrate(ThingsPropertyTrunk tio)
This is how you load and merge properties into an already populated tree. |
void |
init(ThingsPropertyTrunk tio)
Tell the tree to init itself. |
void |
load()
Tell the tree to load fresh. |
void |
save()
Tell the tree to save itself. |
| Method Detail |
|---|
ThingsPropertyView getBranch(java.lang.String path)
throws ThingsException
path - path to the branch. Null we return the root.
ThingsException
ThingsPropertyView getRoot()
throws ThingsException
ThingsException
ThingsPropertyTree copyBranch(java.lang.String branchPath)
throws ThingsException
branchPath - path to the branch from where to start the copy. An empty or null value will return the root.
ThingsException
void copyAndGraftBranch(java.lang.String sourceBranchPath,
java.lang.String graftRoot)
throws ThingsException
sourceBranchPath - path to the branch from where to copy. An empty or null value will return the root.graftRoot - the path to where it should be grafted.
ThingsException
void load()
throws ThingsException
ThingsException
void save()
throws ThingsException
ThingsException
void init(ThingsPropertyTrunk tio)
throws ThingsException
tio - a trunk to load and save the properties
ThingsException
void infliltrate(ThingsPropertyTrunk tio)
throws ThingsException
tio - a trunk to load and save the properties
ThingsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||