This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
org.w3c.dom
interface DOMErrorHandler
public interface DOMErrorHandler
DOMErrorHandler
is a callback interface that the DOM
implementation can call when reporting errors that happens while
processing XML data, or when doing some other processing (e.g. validating
a document). A DOMErrorHandler
object can be attached to a
Document
using the "error-handler" on the
DOMConfiguration
interface. If more than one error needs to
be reported during an operation, the sequence and numbers of the errors
passed to the error handler are implementation dependent.
The application that is using the DOM implementation is expected to
implement this interface.
See also the Document Object Model (DOM) Level 3 Core Specification.
Method Summary |
boolean |
This method is called on the error handler when an error occurs.
|
handleError
public boolean handleError(DOMError error)
-
This method is called on the error handler when an error occurs.
If an exception is thrown from this method, it is considered to be
equivalent of returning true
.
- Parameters:
error
- The error object that describes the error. This object
may be reused by the DOM implementation across multiple calls to
the handleError
method.
- Returns:
- If the
handleError
method returns
false
, the DOM implementation should stop the current
processing when possible. If the method returns true
,
the processing may continue depending on
DOMError.severity
.
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.