org.apache.log4j.xml
Interface UnrecognizedElementHandler
- SMTPAppender
public interface UnrecognizedElementHandler
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.
boolean | parseUnrecognizedElement(Element element, Properties props) - Called to inform a configured object when
an unrecognized child element is encountered.
|
parseUnrecognizedElement
public boolean parseUnrecognizedElement(Element element,
Properties props)
throws Exception
Called to inform a configured object when
an unrecognized child element is encountered.
element
- element, may not be null.props
- properties in force, may be null.
- true if configured object recognized the element
Copyright 2000-2007 Apache Software Foundation.