Class XmlSchemaReport
java.lang.Object
org.projecthusky.validation.service.schema.XmlSchemaReport
The report of an XML Schema validation.
- Author:
- Quentin Ligier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<@NonNull SAXParseException>Returns the list of validation errors.@Nullable SAXParseExceptionReturns the fatal error ornull.List<@NonNull SAXParseException>Returns the list of validation warnings.booleanisValid()Return whether the validation was successful or not.voidsetFatalError(@Nullable SAXParseException fatalError) Sets the fatal error.
-
Constructor Details
-
XmlSchemaReport
public XmlSchemaReport()
-
-
Method Details
-
getWarnings
Returns the list of validation warnings. -
getErrors
Returns the list of validation errors. -
getFatalError
Returns the fatal error ornull. -
setFatalError
Sets the fatal error.- Parameters:
fatalError- The fatal error ornull.
-
isValid
public boolean isValid()Return whether the validation was successful or not.
-