@Plugin(name="org.apache.log4j.xml.XMLLayout", category="Log4j Builder") public class XmlLayoutBuilder extends AbstractBuilder<Layout> implements LayoutBuilder
APPEND_PARAM, BUFFER_SIZE_PARAM, BUFFERED_IO_PARAM, FILE_PARAM, IMMEDIATE_FLUSH_PARAM, MAX_BACKUP_INDEX, MAX_SIZE_PARAM, NULL, RELATIVE| Constructor and Description |
|---|
XmlLayoutBuilder() |
XmlLayoutBuilder(String prefix,
Properties props) |
| Modifier and Type | Method and Description |
|---|---|
Layout |
parse(Element layoutElement,
XmlConfiguration config)
Parses a DOM Element.
|
Layout |
parse(PropertiesConfiguration config)
Parses a PropertiesConfigurationt.
|
buildFilters, getBooleanProperty, getBooleanProperty, getBooleanValueAttribute, getIntegerProperty, getNameAttribute, getNameAttributeKey, getProperties, getProperty, getProperty, getValueAttribute, getValueAttribute, set, set, set, substVarspublic XmlLayoutBuilder()
public XmlLayoutBuilder(String prefix, Properties props)
public Layout parse(Element layoutElement, XmlConfiguration config)
ParserCopyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.