Interface IXmlValidator

All Known Implementing Classes:
XmlXsdValidator

public interface IXmlValidator
This interface describes the methods that can be used to validate an XML.
Since:
6.4
Author:
Jon van Leuven
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Validate an XML resource.
    void
    Validate an XML string.
  • Method Details

    • validate

      void validate(IResource xml)
      Validate an XML resource.
      Parameters:
      xml - The xml resource.
      Throws:
      XmlValidationException - Is thrown when the provided xml does not validate.
    • validate

      void validate(String doc)
      Validate an XML string.
      Parameters:
      doc - The xml string.
      Throws:
      XmlValidationException - Is thrown when the provided xml does not validate.