Class Overview
Implements an ErrorHandler that mainly just logs errors/warnings. However, it does track
the intial error it encounters and makes it available via getError()
.
Summary
Public Methods |
void
|
error(SAXParseException error)
|
void
|
fatalError(SAXParseException error)
|
SAXParseException
|
getError()
Retrieve the initial error encountered, or null if no error was encountered.
|
void
|
reset()
|
void
|
warning(SAXParseException warn)
|
[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 Methods
public
void
error
(SAXParseException error)
public
void
fatalError
(SAXParseException error)
public
SAXParseException
getError
()
Retrieve the initial error encountered, or null if no error was encountered.
Returns
- The initial error, or null if none.
public
void
warning
(SAXParseException warn)