|
|||||||
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. |
String |
getNamespaceUri()
|
List |
getTextValidationReport()
|
Throwable |
getThrowable()
|
long |
getValidationDuration()
|
String[] |
getValidationReportArray()
|
List |
getValidationReportItemList()
|
boolean |
isValid()
Give validation information of the XML document. |
void |
setException(Exception ex)
|
void |
setNamespaceUri(String namespace)
|
void |
setThrowable(Throwable throwable)
|
void |
setValidationDuration(long time)
|
void |
start()
|
void |
stop()
|
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 ErrorHandler
exception
- 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 ErrorHandler
exception
- 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 ErrorHandler
exception
- 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 getValidationReportItemList()
public List getTextValidationReport()
public String[] getValidationReportArray()
public void setValidationDuration(long time)
public long getValidationDuration()
public String toString()
toString
in class Object
public void start()
public void stop()
public void setThrowable(Throwable throwable)
public Throwable getThrowable()
public void setNamespaceUri(String namespace)
public String getNamespaceUri()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |