|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.validation.ValidationReport
Report containing all validation info (errors, warnings).
ErrorHandler
Constructor Summary | |
ValidationReport()
|
Method Summary | |
void |
error(org.xml.sax.SAXParseException exception)
Receive notification of a recoverable error. |
void |
fatalError(org.xml.sax.SAXParseException exception)
Receive notification of a non-recoverable error. |
long |
getValidationDuration()
|
java.util.List |
getValidationReport()
|
java.lang.String[] |
getValidationReportArray()
|
boolean |
isValid()
Give validation information of the XML document. |
void |
setException(java.lang.Exception ex)
|
void |
setValidationDuration(long time)
|
java.lang.String |
toString()
|
void |
warning(org.xml.sax.SAXParseException exception)
Receive notification of a warning. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ValidationReport()
Method Detail |
public void error(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
exception
- The warning information encapsulated in a
SAX parse exception.
org.xml.sax.SAXException
- Any SAX exception, possibly wrapping another
exception.public void fatalError(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
exception
- The warning information encapsulated in a
SAX parse exception.
org.xml.sax.SAXException
- Any SAX exception, possibly wrapping another
exception.public void warning(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
warning
in interface org.xml.sax.ErrorHandler
exception
- The warning information encapsulated in a
SAX parse exception.
org.xml.sax.SAXException
- Any SAX exception, possibly wrapping another
exception.public void setException(java.lang.Exception ex)
public boolean isValid()
public java.util.List getValidationReport()
public java.lang.String[] getValidationReportArray()
public void setValidationDuration(long time)
public long getValidationDuration()
public java.lang.String toString()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |