Class XmlSchemaReport

java.lang.Object
org.projecthusky.validation.service.schema.XmlSchemaReport

public class XmlSchemaReport extends Object
The report of an XML Schema validation.
Author:
Quentin Ligier
  • Constructor Details

    • XmlSchemaReport

      public XmlSchemaReport()
  • Method Details

    • getWarnings

      public List<@NonNull SAXParseException> getWarnings()
      Returns the list of validation warnings.
    • getErrors

      public List<@NonNull SAXParseException> getErrors()
      Returns the list of validation errors.
    • getFatalError

      public @Nullable SAXParseException getFatalError()
      Returns the fatal error or null.
    • setFatalError

      public void setFatalError(@Nullable SAXParseException fatalError)
      Sets the fatal error.
      Parameters:
      fatalError - The fatal error or null.
    • isValid

      public boolean isValid()
      Return whether the validation was successful or not.