|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.codehaus.spice.configkit.ValidationResult
Result of validating a document against a schema. The result indicates
whether validation was successful, any exception throws by validator and any
ValidationIssues that were reported.
| Constructor Summary | |
ValidationResult(ValidateException exception,
ValidationIssue[] issues)
Create a ValidationResult. |
|
| Method Summary | |
ValidateException |
getException()
Return the exception thrown if validation not successful. |
ValidationIssue[] |
getIssues()
Return the issues that were reported during validation. |
boolean |
isValid()
Return true if validation successful. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ValidationResult(ValidateException exception,
ValidationIssue[] issues)
exception - the exception thrown if validation failedissues - the issues that were reported during validation.| Method Detail |
public boolean isValid()
public ValidateException getException()
public ValidationIssue[] getIssues()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||