java.lang.Object
com.markvarga21.studentmanager.util.validation.XmlValidator

@Component public class XmlValidator extends Object
A utility class which is used to validate XML content.
  • Constructor Details

    • XmlValidator

      public XmlValidator()
  • Method Details

    • isXmlValid

      public boolean isXmlValid(String xml) throws IOException
      Validates the XML content.
      Parameters:
      xml - The XML content to be validated.
      Returns:
      Whether the XML content is valid.
      Throws:
      IOException