|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deft.extension.persistence.Persistence
public class Persistence
Stores a list of modification and decoration to apply them to a AST.
Constructor Summary | |
---|---|
Persistence()
|
|
Persistence(java.io.File file)
|
Method Summary | |
---|---|
void |
add(Decoration decoration)
|
void |
add(Modification motification)
|
void |
apply(org.deft.repository.ast.TreeNode ast)
Apply all modification/decations to a AST. |
void |
load(java.io.File file)
Load/initialize object from a file. |
void |
remove(Decoration decoration)
|
void |
remove(Modification motification)
|
void |
store(java.io.File file)
Stores object to a file. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Persistence()
public Persistence(java.io.File file)
Method Detail |
---|
public void load(java.io.File file)
file
- public void store(java.io.File file)
file
- public void add(Decoration decoration)
decoration
- public void remove(Decoration decoration)
decoration
- public void add(Modification motification)
motification
- public void remove(Modification motification)
motification
- public void apply(org.deft.repository.ast.TreeNode ast)
ast
- public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |