org.apache.xml.serializer.dom3
Class DOMErrorHandlerImpl

java.lang.Object
  extended by org.apache.xml.serializer.dom3.DOMErrorHandlerImpl
All Implemented Interfaces:
org.w3c.dom.DOMErrorHandler

final class DOMErrorHandlerImpl
extends java.lang.Object
implements org.w3c.dom.DOMErrorHandler

This is the default implementation of the ErrorHandler interface and is used if one is not provided. The default implementation simply reports DOMErrors to System.err.


Constructor Summary
DOMErrorHandlerImpl()
          Default Constructor
 
Method Summary
 boolean handleError(org.w3c.dom.DOMError error)
          Implementation of DOMErrorHandler.handleError that adds copy of error to list for later retrieval.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMErrorHandlerImpl

DOMErrorHandlerImpl()
Default Constructor

Method Detail

handleError

public boolean handleError(org.w3c.dom.DOMError error)
Implementation of DOMErrorHandler.handleError that adds copy of error to list for later retrieval.

Specified by:
handleError in interface org.w3c.dom.DOMErrorHandler