*
* @author Tudor
*/
public class NewClass {
public static void main(String[] args){
Tree tree=new Tree();
XMLController ctr=new XMLController(tree);
tree.getRoot().setData("NewTree");
Node n1=new Node("n1",tree.getRoot());
Node n2=new Node("n2",tree.getRoot());
Node n3=new Node("n3",tree.getRoot());
n1.setFieldName("f1");
n1.setFieldType("String");
n1.addField();