Revision 1688 tmp/org.txm.groovy.core/src/groovy/org/txm/scripts/importer/alceste/compiler.groovy

compiler.groovy (revision 1688)
94 94
	 */
95 95
	public compiler(){}
96 96
	
97
	
98
	/**
99
	 * Instantiates a new compiler.
100
	 *
101
	 * @param url the url
102
	 * @param text the text
103
	 * @param base the base
104
	 * @param project the project
105
	 */
106
	public compiler(URL url, String text, String base, String projectName)
107
	{
108
		this.text = text
109
		this.base = base;
110
		try {
111
			this.url = url;
112
			inputData = url.openStream();
113
			
114
			factory = XMLInputFactory.newInstance();
115
			parser = factory.createXMLStreamReader(inputData);
116
		} catch (Exception ex) {
117
			System.err.println("IOException while parsing: "+ex);
118
		}
119
	}
120
	
121 97
	/** The annotation success. */
122 98
	boolean annotationSuccess = false;
123 99
	

Also available in: Unified diff