The derived class should override the {@link #getErrorHandler()} methodso that it will return the correct {@link XMLErrorHandler} instance.This method will be called whenever an error/warning is found.
Experience shows that it is better to store the actual {@link XMLErrorHandler} in one place and looks up that variable,rather than copying it into every component that needs an error handler and update all of them whenever it is changed, IMO. @author Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com) @version $Id: ErrorHandlerProxy.java 320519 2005-06-22 03:58:12Z mrglavas $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|