summaryrefslogtreecommitdiffstats
path: root/collaboration/GSoC-2011-Nirmal/CompositeDiagramGeneratorUsingBatik/src/main/java/org/apache/tuscany/sca/main/Main.java
blob: 24ec6437796449c625f6f3133eebed7e3d22a370 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package org.apache.tuscany.sca.main;

import org.apache.tuscany.sca.impl.io.XMLReader;
import org.apache.tuscany.sca.impl.layout.EntityBuilder;
import org.w3c.dom.Document;

public class Main {

	/**
	 * @param args
	 * @throws Exception 
	 */
	public static void main(String[] args) throws Exception {

		XMLReader reader = new XMLReader();
		Document doc =reader.parseXMLFile(System.getProperty("user.dir")+"/input/composite2.xml");
		EntityBuilder eb = new EntityBuilder(doc);
		eb.buildEntities();
		
	}

}