public abstract class HTMLLayoutBase<E> extends LayoutBase<E>
| Modifier and Type | Field and Description |
|---|---|
protected long |
counter
|
protected CssBuilder |
cssBuilder
|
protected Converter |
head
|
protected String |
pattern
|
protected String |
title
|
startedcontext| Constructor and Description |
|---|
HTMLLayoutBase()
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
computeConverterName(Converter
|
String |
getContentType()
Returns the content type output by this layout, i.e "text/html".
|
CssBuilder |
getCssBuilder()
|
protected abstract Map |
getDefaultConverterMap()
|
Map |
getEffectiveConverterMap()
Returns a map where the default converter map is merged with the map contained in the context.
|
String |
getFileFooter()
Returns the appropriate HTML footers.
|
String |
getFileHeader()
Returns appropriate HTML headers.
|
String |
getPattern()
Returns the value of the
ConversionPattern option.
|
String |
getPresentationFooter()
Return the footer of the logging event formatting.
|
String |
getPresentationHeader()
Return the header of the logging event formatting.
|
String |
getTitle()
Returns the current value of the
Title option.
|
void |
setCssBuilder(CssBuilder
|
void |
setPattern(String
Set the
ConversionPattern option.
|
void |
setTitle(String
The
Title option takes a String value.
|
void |
start()
Parses the pattern and creates the Converter linked list.
|
protected void |
startNewTableIfLimitReached(StringBuilder
|
getContext, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManagerprotected Stringpattern
protected Stringtitle
protected CssBuildercssBuilder
protected long counter
public void setPattern(StringconversionPattern)
public StringgetPattern()
public CssBuildergetCssBuilder()
public void setCssBuilder(CssBuildercssBuilder)
public void start()
public Map<String ,String > getEffectiveConverterMap()
public void setTitle(Stringtitle)
Defaults to 'Logback Log Messages'.
public StringgetTitle()
public StringgetContentType()
getContentType in interface
Layout<E>
getContentType in class
LayoutBase<E>
public StringgetFileHeader()
getFileHeader in interface
Layout<E>
getFileHeader in class
LayoutBase<E>
public StringgetPresentationHeader()
Layout
getPresentationHeader in interface
Layout<E>
getPresentationHeader in class
LayoutBase<E>
public StringgetPresentationFooter()
Layout
getPresentationFooter in interface
Layout<E>
getPresentationFooter in class
LayoutBase<E>
public StringgetFileFooter()
getFileFooter in interface
Layout<E>
getFileFooter in class
LayoutBase<E>
protected void startNewTableIfLimitReached(StringBuildersbuf)