Class CmsXmlValidationErrorHandler

java.lang.Object
org.dom4j.util.XMLErrorHandler
org.opencms.xml.CmsXmlValidationErrorHandler
All Implemented Interfaces:
ErrorHandler

public class CmsXmlValidationErrorHandler extends org.dom4j.util.XMLErrorHandler
Error hander for writing errors found during XML validation to the OpenCms log.

Exceptions caused by warnings are suppressed (but written to the log if level is set to WARN).

Since:
6.0.0
  • Field Summary

    Fields inherited from class org.dom4j.util.XMLErrorHandler

    ERROR_QNAME, FATALERROR_QNAME, WARNING_QNAME
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor from superclass.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.dom4j.Element
    Returns the warnings.
    void
     

    Methods inherited from class org.dom4j.util.XMLErrorHandler

    addException, fatalError, getErrorQName, getErrors, getFatalErrorQName, getWarningQName, setErrorQName, setErrors, setFatalErrorQName, setWarningQName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait