|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.tools.ant.taskdefs.optional.XMLValidateTask.ValidatorErrorHandler
ValidatorErrorHandler role :
| Field Summary | |
protected java.io.File |
currentFile
|
protected boolean |
failed
|
protected java.lang.String |
lastErrorMessage
|
| Constructor Summary | |
protected |
XMLValidateTask.ValidatorErrorHandler()
|
| Method Summary | |
void |
error(org.xml.sax.SAXParseException exception)
receive notification of a recoverable error |
void |
fatalError(org.xml.sax.SAXParseException exception)
record a fatal error |
boolean |
getFailure()
did an error happen during last parsing ? |
void |
init(java.io.File file)
initialises the class |
void |
warning(org.xml.sax.SAXParseException exception)
receive notification of a warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.io.File currentFile
protected java.lang.String lastErrorMessage
protected boolean failed
| Constructor Detail |
protected XMLValidateTask.ValidatorErrorHandler()
| Method Detail |
public void init(java.io.File file)
file - file usedpublic boolean getFailure()
public void fatalError(org.xml.sax.SAXParseException exception)
fatalError in interface org.xml.sax.ErrorHandlerexception - the fatal errorpublic void error(org.xml.sax.SAXParseException exception)
error in interface org.xml.sax.ErrorHandlerexception - the errorpublic void warning(org.xml.sax.SAXParseException exception)
warning in interface org.xml.sax.ErrorHandlerexception - the warning
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||