Mercurial > hg > Members > shoshi > TreeCMSv2
comparison src/treecms/api/TreeEditor.java @ 8:f96193babac0
changed byte[] to ByteBuffer
added TreeEditor.updateTree(Node,NodeData,Node[]) for node path is known.
added GUIEditor
author | shoshi |
---|---|
date | Thu, 31 Mar 2011 02:08:44 +0900 |
parents | fc19e38b669b |
children |
comparison
equal
deleted
inserted
replaced
7:fc19e38b669b | 8:f96193babac0 |
---|---|
47 * @param _newData 新しいNodeに割り当てられるNodeData | 47 * @param _newData 新しいNodeに割り当てられるNodeData |
48 * @return 更新された新しいNode | 48 * @return 更新された新しいNode |
49 * @throws PathNotFoundException パスが見つからない場合 | 49 * @throws PathNotFoundException パスが見つからない場合 |
50 */ | 50 */ |
51 public Node updateTree(Node _target,NodeData _newData) throws PathNotFoundException; | 51 public Node updateTree(Node _target,NodeData _newData) throws PathNotFoundException; |
52 | |
53 /** | |
54 * 木構造を非破壊的に更新します.Nodeへのパスが既知な場合このメソッドを使用できます。 | |
55 * このメソッドは使用時にパスの正当性を検証します。見つからない場合PathNotFoundExceptionがスローされます | |
56 * @param _target | |
57 * @param _newData | |
58 * @param _path | |
59 * @return 更新された新しいNode | |
60 * @throws PathNotFoundException | |
61 */ | |
62 public Node updateTree(Node _target,NodeData _newData,Node[] _path) throws PathNotFoundException; | |
52 } | 63 } |