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, beginFormat, beginGroup, beginHeader, beginLink, beginList, beginListItem, beginMacroMarker, beginMetaData, beginParagraph, beginQuotation, beginQuotationLine, beginSection, beginTable, beginTableCell, beginTableHeadCell, beginTableRow, endDefinitionDescription, endDefinitionList, endDefinitionTerm, endDocument, endFormat, endGroup, endHeader, endLink, endList, endListItem, endMacroMarker, endMetaData, endParagraph, endQuotation, endQuotationLine, endSection, endTable, endTableCell, endTableHeadCell, endTableRow, getListenerChain, onEmptyLines, onHorizontalLine, onId, onImage, onMacro, onNewLine, onRawText, onSpace, onSpecialSymbol, onVerbatim, onWord, setListenerChainclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeginDefinitionDescription, beginDefinitionList, beginDefinitionTerm, beginDocument, beginFormat, beginGroup, beginHeader, beginList, beginListItem, beginMacroMarker, beginMetaData, beginParagraph, beginQuotation, beginQuotationLine, beginSection, beginTable, beginTableCell, beginTableHeadCell, beginTableRow, endDefinitionDescription, endDefinitionList, endDefinitionTerm, endDocument, endFormat, endGroup, endHeader, endList, endListItem, endMacroMarker, endMetaData, endParagraph, endQuotation, endQuotationLine, endSection, endTable, endTableCell, endTableHeadCell, endTableRow, onEmptyLines, onHorizontalLine, onId, onMacro, onNewLine, onRawText, onSpace, onSpecialSymbol, onVerbatim, onWordbeginLink, endLinkonImagepublic WikiPrinter getMainPrinter()
public WikiPrinter getPrinter()
getPrinter in interface PrintRendererWikiPrinter and the resulting XHTML can be retrieved by calling toString() on itpublic void setPrinter(WikiPrinter printer)
setPrinter in interface PrintRendererprinter - 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–2018 XWiki. All rights reserved.