|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.exist.validation.ValidationReport
public class ValidationReport
Report containing all validation info (errors, warnings).
ErrorHandler| Constructor Summary | |
|---|---|
ValidationReport()
|
|
| Method Summary | |
|---|---|
void |
error(SAXParseException exception)
Receive notification of a recoverable error. |
void |
fatalError(SAXParseException exception)
Receive notification of a non-recoverable error. |
long |
getValidationDuration()
|
List |
getValidationReport()
|
String[] |
getValidationReportArray()
|
boolean |
isValid()
Give validation information of the XML document. |
void |
setException(Exception ex)
|
void |
setValidationDuration(long time)
|
String |
toString()
|
void |
warning(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(SAXParseException exception)
throws SAXException
error in interface ErrorHandlerexception - The warning information encapsulated in a
SAX parse exception.
SAXException - Any SAX exception, possibly wrapping another
exception.
public void fatalError(SAXParseException exception)
throws SAXException
fatalError in interface ErrorHandlerexception - The warning information encapsulated in a
SAX parse exception.
SAXException - Any SAX exception, possibly wrapping another
exception.
public void warning(SAXParseException exception)
throws SAXException
warning in interface ErrorHandlerexception - The warning information encapsulated in a
SAX parse exception.
SAXException - Any SAX exception, possibly wrapping another
exception.public void setException(Exception ex)
public boolean isValid()
public List getValidationReport()
public String[] getValidationReportArray()
public void setValidationDuration(long time)
public long getValidationDuration()
public String toString()
toString in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||