Class Overview
Wraps XMLErrorHandler
and make it look like a SAX ErrorHandler.
The derived class should override the getErrorHandler()
method
so that it will return the correct XMLErrorHandler
instance.
This method will be called whenever an error/warning is found.
Experience shows that it is better to store the actual
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.
Summary
Public Methods |
void
|
error(SAXParseException e)
|
void
|
fatalError(SAXParseException e)
|
void
|
warning(SAXParseException e)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.xml.sax.ErrorHandler
abstract
void
|
error(SAXParseException arg0)
|
abstract
void
|
fatalError(SAXParseException arg0)
|
abstract
void
|
warning(SAXParseException arg0)
|
|
Public Constructors
public
ErrorHandlerProxy
()
Public Methods
public
void
error
(SAXParseException e)
public
void
fatalError
(SAXParseException e)
public
void
warning
(SAXParseException e)
Protected Methods