first commit

This commit is contained in:
2025-07-28 13:56:49 +05:30
commit e9eb805edb
3438 changed files with 520990 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
package com.tcs.wenrgise.util.common;
import java.util.ArrayList;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
import org.xml.sax.helpers.DefaultHandler;
public class XMLValidationHandler extends DefaultHandler {
private ArrayList results = new ArrayList();
public ArrayList getResults() {
return this.results;
}
public void warning(SAXParseException e) throws SAXException {
this.results.add(e.toString());
}
public void fatalError(SAXParseException e) throws SAXException {
this.results.add(e.toString());
}
public void error(SAXParseException e) throws SAXException {
this.results.add(e.toString());
}
}