fr.paris.lutece.plugins.xmlpage.util
Class XmlPageXercesErrorHandler

java.lang.Object
  extended by fr.paris.lutece.plugins.xmlpage.util.XmlPageXercesErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler

public class XmlPageXercesErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler

Specific ErrorHandler to validate XML Input Files for XmlPage Plugin.


Constructor Summary
XmlPageXercesErrorHandler()
           
 
Method Summary
 void error(org.xml.sax.SAXParseException saxpe)
          Receive notification of a recoverable error.
 void fatalError(org.xml.sax.SAXParseException saxpe)
          Receive notification of a non-recoverable error.
 void warning(org.xml.sax.SAXParseException saxpe)
          Receive notification of a warning.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlPageXercesErrorHandler

public XmlPageXercesErrorHandler()
Method Detail

error

public void error(org.xml.sax.SAXParseException saxpe)
           throws org.xml.sax.SAXException
Receive notification of a recoverable error.

Specified by:
error in interface org.xml.sax.ErrorHandler
Parameters:
saxpe - The warning information encapsulated in a SAX parse exception.
Throws:
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.

fatalError

public void fatalError(org.xml.sax.SAXParseException saxpe)
                throws org.xml.sax.SAXException
Receive notification of a non-recoverable error.

Specified by:
fatalError in interface org.xml.sax.ErrorHandler
Parameters:
saxpe - The warning information encapsulated in a SAX parse exception.
Throws:
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.

warning

public void warning(org.xml.sax.SAXParseException saxpe)
             throws org.xml.sax.SAXException
Receive notification of a warning.

Specified by:
warning in interface org.xml.sax.ErrorHandler
Parameters:
saxpe - The warning information encapsulated in a SAX parse exception.
Throws:
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.


Copyright © 2007 Mairie de Paris. All Rights Reserved.