Class XmlValidator
java.lang.Object
com.markvarga21.studentmanager.util.validation.XmlValidator
A utility class which is used to validate XML content.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XmlValidator
public XmlValidator()
-
-
Method Details
-
isXmlValid
Validates the XML content.- Parameters:
xml
- The XML content to be validated.- Returns:
- Whether the XML content is valid.
- Throws:
IOException
-