Package org.apache.log4j.builders.layout
Class HtmlLayoutBuilder
- java.lang.Object
-
- org.apache.log4j.builders.AbstractBuilder<Layout>
-
- org.apache.log4j.builders.layout.HtmlLayoutBuilder
-
- All Implemented Interfaces:
Builder<Layout>
,LayoutBuilder
,Parser<Layout>
@Plugin(name="org.apache.log4j.HTMLLayout", category="Log4j Builder") public class HtmlLayoutBuilder extends AbstractBuilder<Layout> implements LayoutBuilder
Build a Pattern Layout
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
DEFAULT_TITLE
private static java.lang.String
LOCATION_INFO_PARAM
private static java.lang.String
TITLE_PARAM
-
Fields inherited from class org.apache.log4j.builders.AbstractBuilder
APPEND_PARAM, BUFFER_SIZE_PARAM, BUFFERED_IO_PARAM, FILE_PARAM, IMMEDIATE_FLUSH_PARAM, MAX_BACKUP_INDEX, MAX_SIZE_PARAM, NULL, RELATIVE
-
-
Constructor Summary
Constructors Constructor Description HtmlLayoutBuilder()
HtmlLayoutBuilder(java.lang.String prefix, java.util.Properties props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Layout
createLayout(java.lang.String title, boolean locationInfo)
Layout
parse(PropertiesConfiguration config)
Parses a PropertiesConfigurationt.Layout
parse(org.w3c.dom.Element layoutElement, XmlConfiguration config)
Parses a DOM Element.-
Methods inherited from class org.apache.log4j.builders.AbstractBuilder
buildFilters, getBooleanProperty, getBooleanProperty, getBooleanValueAttribute, getIntegerProperty, getLongProperty, getNameAttribute, getNameAttributeKey, getProperties, getProperty, getProperty, getValueAttribute, getValueAttribute, set, set, set, set, substVars
-
-
-
-
Field Detail
-
DEFAULT_TITLE
private static final java.lang.String DEFAULT_TITLE
- See Also:
- Constant Field Values
-
TITLE_PARAM
private static final java.lang.String TITLE_PARAM
- See Also:
- Constant Field Values
-
LOCATION_INFO_PARAM
private static final java.lang.String LOCATION_INFO_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
parse
public Layout parse(org.w3c.dom.Element layoutElement, XmlConfiguration config)
Description copied from interface:Parser
Parses a DOM Element.
-
parse
public Layout parse(PropertiesConfiguration config)
Description copied from interface:Parser
Parses a PropertiesConfigurationt.
-
createLayout
private Layout createLayout(java.lang.String title, boolean locationInfo)
-
-