org.teatrove.tea.engine
Class TemplateSourceImpl.ErrorRetriever
java.lang.Object
org.teatrove.tea.engine.TemplateSourceImpl.ErrorRetriever
- All Implemented Interfaces:
- EventListener, ErrorListener, TemplateErrorListener
- Enclosing class:
- TemplateSourceImpl
protected class TemplateSourceImpl.ErrorRetriever
- extends Object
- implements TemplateErrorListener
mTemplateErrors
protected Map<String,List<TemplateError>> mTemplateErrors
TemplateSourceImpl.ErrorRetriever
protected TemplateSourceImpl.ErrorRetriever()
getTemplateErrors
public Map<String,List<TemplateError>> getTemplateErrors()
- Specified by:
getTemplateErrors in interface TemplateErrorListener
compileError
public void compileError(ErrorEvent event)
- This method is called for each error that occurs while compiling
templates. The error is reported in the log and in the error list.
- Specified by:
compileError in interface ErrorListener
createTemplateError
protected TemplateError createTemplateError(String sourcePath,
ErrorEvent event)
close
public void close()
- Description copied from interface:
TemplateErrorListener
- Close listener to dispose of any resources (i.e. open files) that the
error listener is hanging on to.
- Specified by:
close in interface TemplateErrorListener
finalize
protected void finalize()
- Overrides:
finalize in class Object
Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.