| 
 
 | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDOMErrorHandlerPW
public class DOMErrorHandlerPW
A DOM error handler that outputs messages to a print writer.
| Constructor Summary | |
|---|---|
DOMErrorHandlerPW(PrintWriter w)
Creates a DOMErrorHandlerPW.  | 
|
| Method Summary | |
|---|---|
 int | 
count()
Returns the sum of error, fatal error and warning counts.  | 
 int | 
getErrorCount()
Returns the error count.  | 
 int | 
getFatalErrorCount()
Returns the fatal error count.  | 
 int | 
getWarningCount()
Returns the warning count.  | 
 boolean | 
handleError(DOMError e)
Outputs an error through the print writer.  | 
protected  void | 
output(String severityName,
             DOMError e)
 | 
 void | 
reset()
Resets all counts to zero.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DOMErrorHandlerPW(PrintWriter w)
| Method Detail | 
|---|
public int count()
public int getErrorCount()
public int getFatalErrorCount()
public int getWarningCount()
public void reset()
public boolean handleError(DOMError e)
handleError in interface DOMErrorHandler
protected void output(String severityName,
                      DOMError e)
  | 
 
 | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||