public DispelEngineResult peekDispel(String dispelCode)
throws CompilationException,
TransformationException,
IOException
{
DISPELCompiler compiler = new DISPELCompiler();
for (ErrorListener errorListener : mErrorListeners )
{
compiler.addErrorListener(errorListener);
}
compiler.addErrorListener(this);
DISPELGraphBuilder builder = new DISPELGraphBuilder(
mAdmireRegistry, mDispelOptimiser);
compiler.setRequestBuilder(builder);
compiler.parse(dispelCode);
if (mHaveCompilerErrors)
{
throw new CompilationException();
}