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
-
Method Details
-
validate
Validate an XML resource.- Parameters:
xml
- The xml resource.- Throws:
XmlValidationException
- Is thrown when the provided xml does not validate.
-
validate
Validate an XML string.- Parameters:
doc
- The xml string.- Throws:
XmlValidationException
- Is thrown when the provided xml does not validate.
-