Mercurial > hg > Members > shoshi > TreeCMS > TreeCMSPrototype1
changeset 22:92637ef791b7
added MergedTreeBuilder.java
author | ShoshiTAMAKI |
---|---|
date | Sat, 23 Oct 2010 01:14:45 +0900 |
parents | cce963b8a4fd |
children | a3f8f5da4947 |
files | src/treecms/proto/merge/MergedTreeBuilder.java src/treecms/proto/test/EditableTreeBuilderTest1.java |
diffstat | 2 files changed, 31 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/treecms/proto/merge/MergedTreeBuilder.java Sat Oct 23 01:14:45 2010 +0900 @@ -0,0 +1,30 @@ +package treecms.proto.merge; + +import treecms.proto.api.Node; +import treecms.proto.api.TreeBuilder; + +public class MergedTreeBuilder implements TreeBuilder +{ + private TreeBuilder m_target1; + private TreeBuilder m_target2; + + public MergedTreeBuilder(TreeBuilder _target1,TreeBuilder _target2) + { + m_target1 = _target1; + m_target2 = _target2; + } + + @Override + public Node getContents() + { + // TODO Auto-generated method stub + return null; + } + + @Override + public Node createNode() + { + // TODO Auto-generated method stub + return null; + } +}
--- a/src/treecms/proto/test/EditableTreeBuilderTest1.java Sun Oct 17 13:56:47 2010 +0900 +++ b/src/treecms/proto/test/EditableTreeBuilderTest1.java Sat Oct 23 01:14:45 2010 +0900 @@ -8,7 +8,7 @@ public class EditableTreeBuilderTest1 { - public static void main(String _arg[]) + public static void main(String _args[]) { TreeBuilder builder = new SimpleTreeBuilder(); Node root = builder.getContents();