ASTs.java

package edu.udel.cis.vsl.tass.ast;

import java.io.File;
import java.io.FileNotFoundException;

import edu.udel.cis.vsl.tass.ast.IF.ASTParserIF;

import edu.udel.cis.vsl.tass.ast.impl.AbstractSyntaxTree;
import edu.udel.cis.vsl.tass.ast.parser.ASTParser;

import java.io.InputStream;

public class ASTs {

	public static ASTParserIF makeASTParser (File xmlFile,
                                                 File schemaFile) throws FileNotFoundException {
		return new ASTParser(xmlFile, schemaFile, new AbstractSyntaxTree());
	}

	public static ASTParserIF makeASTParser(InputStream xmlFile,
											File schemaFile) {
		return new ASTParser(xmlFile, schemaFile, new AbstractSyntaxTree());
	}
}