public interface

UnrecognizedElementHandler

org.apache.log4j.xml.UnrecognizedElementHandler
Known Indirect Subclasses

Class Overview

When implemented by an object configured by DOMConfigurator, the handle method will be called when an unrecognized child element is encountered. Unrecognized child elements of the log4j:configuration element will be dispatched to the logger repository if it supports this interface.

Summary

Public Methods
abstract boolean parseUnrecognizedElement(Element element, Properties props)
Called to inform a configured object when an unrecognized child element is encountered.

Public Methods

public abstract boolean parseUnrecognizedElement (Element element, Properties props)

Called to inform a configured object when an unrecognized child element is encountered.

Parameters
element element, may not be null.
props properties in force, may be null.
Returns
  • true if configured object recognized the element
Throws
Exception throw an exception to prevent activation of the configured object.