public class SectionGeneratorListener extends WrappingListener
EMPTY_PARAMETERS
Constructor and Description |
---|
SectionGeneratorListener(Listener listener) |
Modifier and Type | Method and Description |
---|---|
void |
beginHeader(HeaderLevel level,
String id,
Map<String,String> parameters)
Start of a header.
|
void |
endDocument(MetaData metadata)
End of the document.
|
beginDefinitionDescription, beginDefinitionList, beginDefinitionTerm, beginDocument, beginFigure, beginFigureCaption, beginFormat, beginGroup, beginLink, beginList, beginListItem, beginListItem, beginMacroMarker, beginMetaData, beginParagraph, beginQuotation, beginQuotationLine, beginSection, beginTable, beginTableCell, beginTableHeadCell, beginTableRow, endDefinitionDescription, endDefinitionList, endDefinitionTerm, endFigure, endFigureCaption, endFormat, endGroup, endHeader, endLink, endList, endListItem, endListItem, endMacroMarker, endMetaData, endParagraph, endQuotation, endQuotationLine, endSection, endTable, endTableCell, endTableHeadCell, endTableRow, getWrappedListener, onEmptyLines, onHorizontalLine, onId, onImage, onMacro, onNewLine, onRawText, onSpace, onSpecialSymbol, onVerbatim, onWord, setWrappedListener
public SectionGeneratorListener(Listener listener)
listener
- the listener to wrapppublic void beginHeader(HeaderLevel level, String id, Map<String,String> parameters)
Listener
beginHeader
in interface Listener
beginHeader
in class WrappingListener
level
- the header level (1, 2, 3, etc)id
- the header unique identifierparameters
- a generic list of parameters. Example: style="background-color: blue"HeaderLevel
public void endDocument(MetaData metadata)
Listener
endDocument
in interface Listener
endDocument
in class WrappingListener
metadata
- the meta data associated with the previous events, see MetaData
Copyright © 2004–2021 XWiki. All rights reserved.