|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
wxtutils.validationErrorHandler
Constructor Summary | |
validationErrorHandler(reporter rep)
Creates a new instance of ValidationErrorHandler |
Method Summary | |
void |
endDocument()
Receive notification of the end of the document. |
void |
error(org.xml.sax.SAXParseException e)
Receive notification of a recoverable parser error. |
void |
fatalError(org.xml.sax.SAXParseException e)
Report a fatal XML parsing error. |
void |
startDocument()
Receive notification of the beginning of the document. |
void |
warning(org.xml.sax.SAXParseException e)
Receive notification of a parser warning. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startElement, startPrefixMapping, unparsedEntityDecl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public validationErrorHandler(reporter rep)
Method Detail |
public void fatalError(org.xml.sax.SAXParseException e)
org.xml.sax.helpers.DefaultHandler
The default implementation throws a SAXParseException. Application writers may override this method in a subclass if they need to take specific actions for each fatal error (such as collecting all of the errors into a single report): in any case, the application must stop all regular processing when this method is invoked, since the document is no longer reliable, and the parser may no longer report parsing events.
e
- The error information encoded as an exception.ErrorHandler.fatalError(org.xml.sax.SAXParseException)
,
SAXParseException
public void error(org.xml.sax.SAXParseException e)
org.xml.sax.helpers.DefaultHandler
The default implementation does nothing. Application writers may override this method in a subclass to take specific actions for each error, such as inserting the message in a log file or printing it to the console.
e
- The warning information encoded as an exception.ErrorHandler.warning(org.xml.sax.SAXParseException)
,
SAXParseException
public void warning(org.xml.sax.SAXParseException e)
org.xml.sax.helpers.DefaultHandler
The default implementation does nothing. Application writers may override this method in a subclass to take specific actions for each warning, such as inserting the message in a log file or printing it to the console.
e
- The warning information encoded as an exception.ErrorHandler.warning(org.xml.sax.SAXParseException)
,
SAXParseException
public void startDocument()
org.xml.sax.helpers.DefaultHandler
By default, do nothing. Application writers may override this method in a subclass to take specific actions at the beginning of a document (such as allocating the root node of a tree or creating an output file).
ContentHandler.startDocument()
public void endDocument()
org.xml.sax.helpers.DefaultHandler
By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of a document (such as finalising a tree or closing an output file).
ContentHandler.endDocument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |