Package umat.beans

Examples of umat.beans.Node


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();
      
       n2.setFieldName("f2");
       n2.setFieldType("String");
       n2.addField();
      
       Node n21=new Node("n2.1",n2);
       Node n22=new Node("n2.2",n2);
      
       Node n31=new Node("n3.1",n3);
       n31.setFieldName("f31");
       n31.setFieldType("String");
       n31.addField();
       Node n32=new Node("n3.2",n3);

       ctr.parseToXML();
      
      
       String xml = "<?xml version=\"1.0\"?><!DOCTYPE cael []>"+
View Full Code Here

TOP

Related Classes of umat.beans.Node

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.