Package com.musicxmltasks.xml
Class XmlErrorHandler
java.lang.Object
com.musicxmltasks.xml.XmlErrorHandler
- All Implemented Interfaces:
org.xml.sax.ErrorHandler
public class XmlErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler
-
Constructor Summary
Constructors Constructor Description XmlErrorHandler() -
Method Summary
Modifier and Type Method Description voiderror(org.xml.sax.SAXParseException e)voidfatalError(org.xml.sax.SAXParseException e)java.lang.StringBuildergetErrors()booleanhasErrors()voidwarning(org.xml.sax.SAXParseException e)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
XmlErrorHandler
public XmlErrorHandler()
-
-
Method Details
-
warning
public void warning(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException- Specified by:
warningin interfaceorg.xml.sax.ErrorHandler- Throws:
org.xml.sax.SAXException
-
error
public void error(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException- Specified by:
errorin interfaceorg.xml.sax.ErrorHandler- Throws:
org.xml.sax.SAXException
-
fatalError
public void fatalError(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException- Specified by:
fatalErrorin interfaceorg.xml.sax.ErrorHandler- Throws:
org.xml.sax.SAXException
-
hasErrors
public boolean hasErrors() -
getErrors
public java.lang.StringBuilder getErrors()
-