Mercurial > hg > Members > shoshi > TreeCMSv1
view src/treecms/proto/merge/MergedTreeBuilder.java @ 25:99346c04a3cf
broken
author | ShoshiTAMAKI |
---|---|
date | Sun, 31 Oct 2010 18:34:02 +0900 |
parents | f0c35d444982 |
children |
line wrap: on
line source
package treecms.proto.merge; import treecms.proto.api.Node; import java.util.List; import treecms.proto.api.TreeBuilder; public class MergedTreeBuilder implements TreeBuilder { private Node m_root; private TreeBuilder m_target; public MergedTreeBuilder(TreeBuilder _target1,TreeBuilder _target2) { Node root1 = _target1.getContents(); Node root2 = _target2.getContents(); merge(root2,root1); } public void merge(Node _target,Node _root) { List<Node> targetChld = _target.getChildList(); List<Node> rootChld = _root.getChildList(); } @Override public Node getContents() { // TODO Auto-generated method stub return m_root; } @Override public Node createNode() { // TODO Auto-generated method stub return null; } }