if (t == null)
{
return null;
}
SPLTreeParser tparse = new SPLTreeParser();
tparse.setASTNodeClass("org.apache.imperius.spl.parser.compiler.ASTWithLineNumber");
try
{
DataCollector dc = DataCollectorFactory.getDataCollector();
SPLSymbolTable st = new SPLSymbolTable();
SPLPolicy cp = tparse.splpolicy(t, dc, st);
if(tparse.getErrorList() != null && tparse.getErrorList().size() > 0)
{
throw new SPLException(Messages.getString("SPL_POLICY_TREE_PARSING_EXCEPTION_MSG"));
}
logger.exiting(sourceClass, Thread.currentThread().getName() + " "
+ "doTreeAction");