public abstract class AbstractChainingPrintRenderer extends AbstractChainingListener implements PrintRenderer
EMPTY_PARAMETERS
Constructor and Description |
---|
AbstractChainingPrintRenderer() |
Modifier and Type | Method and Description |
---|---|
WikiPrinter |
getMainPrinter() |
WikiPrinter |
getPrinter() |
protected void |
popPrinter()
Removes the current
WikiPrinter and instead sets the previous printer as active. |
protected void |
pushPrinter(WikiPrinter wikiPrinter)
Change the current
WikiPrinter with the provided one. |
void |
setPrinter(WikiPrinter printer) |
beginDefinitionDescription, beginDefinitionList, beginDefinitionTerm, beginDocument, beginFigure, beginFigureCaption, beginFormat, beginGroup, beginHeader, beginLink, beginList, beginListItem, beginListItem, beginMacroMarker, beginMetaData, beginParagraph, beginQuotation, beginQuotationLine, beginSection, beginTable, beginTableCell, beginTableHeadCell, beginTableRow, endDefinitionDescription, endDefinitionList, endDefinitionTerm, endDocument, endFigure, endFigureCaption, endFormat, endGroup, endHeader, endLink, endList, endListItem, endListItem, endMacroMarker, endMetaData, endParagraph, endQuotation, endQuotationLine, endSection, endTable, endTableCell, endTableHeadCell, endTableRow, getListenerChain, onEmptyLines, onHorizontalLine, onId, onImage, onMacro, onNewLine, onRawText, onSpace, onSpecialSymbol, onVerbatim, onWord, setListenerChain
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
beginDefinitionDescription, beginDefinitionList, beginDefinitionTerm, beginDocument, beginFigure, beginFigureCaption, beginFormat, beginGroup, beginHeader, beginList, beginListItem, beginListItem, beginMacroMarker, beginMetaData, beginParagraph, beginQuotation, beginQuotationLine, beginSection, beginTable, beginTableCell, beginTableHeadCell, beginTableRow, endDefinitionDescription, endDefinitionList, endDefinitionTerm, endDocument, endFigure, endFigureCaption, endFormat, endGroup, endHeader, endList, endListItem, endListItem, endMacroMarker, endMetaData, endParagraph, endQuotation, endQuotationLine, endSection, endTable, endTableCell, endTableHeadCell, endTableRow, onEmptyLines, onHorizontalLine, onId, onMacro, onNewLine, onRawText, onSpace, onSpecialSymbol, onVerbatim, onWord
beginLink, endLink
onImage
public WikiPrinter getMainPrinter()
public WikiPrinter getPrinter()
getPrinter
in interface PrintRenderer
WikiPrinter
and the resulting XHTML can be retrieved by calling toString()
on itpublic void setPrinter(WikiPrinter printer)
setPrinter
in interface PrintRenderer
printer
- the wiki printer to use when the Renderer needs to output rendered contentprotected void pushPrinter(WikiPrinter wikiPrinter)
WikiPrinter
with the provided one.wikiPrinter
- the new WikiPrinter
to useprotected void popPrinter()
WikiPrinter
and instead sets the previous printer as active.Copyright © 2004–2021 XWiki. All rights reserved.