10
|
1 package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store;
|
|
2
|
|
3 import java.nio.ByteBuffer;
|
14
|
4
|
13
|
5 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.trasnformer.NodeEditor;
|
10
|
6
|
|
7 public interface TreeEditor
|
|
8 {
|
12
|
9 public TraversableTree getTree();
|
14
|
10 public TreeEditResult appendChild(NodePath _path,int _pos);
|
|
11 public TreeEditResult deleteChild(NodePath _path,int _pos);
|
10
|
12
|
14
|
13 public TreeEditResult putAttribute(NodePath _path,String _key,ByteBuffer _value);
|
|
14 public TreeEditResult deleteAttribute(NodePath _path,String _key);
|
10
|
15
|
14
|
16 public TreeEditResult edit(NodePath _path,NodeEditor _transformer);
|
11
|
17
|
10
|
18 public boolean success();
|
|
19 }
|