2 * XML custom error-handler
\r
4 * License : The MIT License
\r
5 * Copyright(c) 2010 MikuToga Partners
\r
8 package jp.sourceforge.mikutoga.pmd2xml;
\r
10 import org.xml.sax.ErrorHandler;
\r
11 import org.xml.sax.SAXException;
\r
12 import org.xml.sax.SAXParseException;
\r
18 final class XmlHandler implements ErrorHandler{
\r
23 static final ErrorHandler HANDLER = new XmlHandler();
\r
28 private XmlHandler(){
\r
35 * @param exception {@inheritDoc}
\r
36 * @throws SAXException {@inheritDoc}
\r
39 public void error(SAXParseException exception) throws SAXException{
\r
45 * @param exception {@inheritDoc}
\r
46 * @throws SAXException {@inheritDoc}
\r
49 public void fatalError(SAXParseException exception) throws SAXException{
\r
55 * @param exception {@inheritDoc}
\r
56 * @throws SAXException {@inheritDoc}
\r
59 public void warning(SAXParseException exception) throws SAXException{
\r