@Test public void testRawBlock() { DefaultWikiPrinter printer = new DefaultWikiPrinter(); this.renderer.setPrinter(printer); this.renderer.onRawText("raw content", Syntax.PLAIN_1_0); Assert.assertEquals("raw content", printer.toString()); }
@Override public void onRawText(String text, Syntax syntax) { if (syntax == null || Syntax.PLAIN_1_0.equals(syntax)) { getPrinter().print(text); } }
PlainTextChainingRenderer extends AbstractChainingPrintRenderer { @Override public void onRawText(String text, Syntax syntax) { if (syntax == null || Syntax.PLAIN_1_0.equals(syntax)) { getPrinter().print(text); } } }
PlainTextChainingRenderer extends AbstractChainingPrintRenderer { @Override public void onRawText(String text, Syntax syntax) { if (syntax == null || Syntax.PLAIN_1_0.equals(syntax)) { getPrinter().print(text); } } PlainTextChainingRenderer(ListenerChain listenerChain);  PlainTextChainingRenderer(LinkLabelGenerator linkLabelGenerator, ListenerChain listenerChain); }
PlainTextChainingRenderer extends AbstractChainingPrintRenderer { @Override public void onRawText(String text, Syntax syntax) { if (syntax == null || Syntax.PLAIN_1_0.equals(syntax)) { getPrinter().print(text); } } PlainTextChainingRenderer(ListenerChain listenerChain);  PlainTextChainingRenderer(LinkLabelGenerator linkLabelGenerator, ListenerChain listenerChain); @Override void beginParagraph(Map<String, String> parameters); @Override void onNewLine(); @Override void endLink(ResourceReference reference, boolean freestanding, Map<String, String> parameters); @Override void beginHeader(HeaderLevel level, String id, Map<String, String> parameters); @Override void onWord(String word); @Override void beginList(ListType type, Map<String, String> parameters); @Override void beginListItem(); @Override void beginListItem(Map<String, String> parameters); @Override void onSpace(); @Override void onSpecialSymbol(char symbol); @Override void onHorizontalLine(Map<String, String> parameters); @Override void onEmptyLines(int count); @Override void onVerbatim(String content, boolean inline, Map<String, String> parameters); @Override void beginDefinitionList(Map<String, String> parameters); @Override void beginDefinitionTerm(); @Override void beginDefinitionDescription(); @Override void beginQuotationLine(); @Override void beginTable(Map<String, String> parameters); @Override void beginTableCell(Map<String, String> parameters); @Override void beginTableHeadCell(Map<String, String> parameters); @Override void beginTableRow(Map<String, String> parameters); @Override void onImage(ResourceReference reference, boolean freestanding, Map<String, String> parameters); @Override void onRawText(String text, Syntax syntax); }
PlainTextChainingRenderer extends AbstractChainingPrintRenderer { @Override public void onRawText(String text, Syntax syntax) { if (syntax == null || Syntax.PLAIN_1_0.equals(syntax)) { getPrinter().print(text); } } PlainTextChainingRenderer(ListenerChain listenerChain);  PlainTextChainingRenderer(LinkLabelGenerator linkLabelGenerator, ListenerChain listenerChain); @Override void beginParagraph(Map<String, String> parameters); @Override void onNewLine(); @Override void endLink(ResourceReference reference, boolean freestanding, Map<String, String> parameters); @Override void beginHeader(HeaderLevel level, String id, Map<String, String> parameters); @Override void onWord(String word); @Override void beginList(ListType type, Map<String, String> parameters); @Override void beginListItem(); @Override void beginListItem(Map<String, String> parameters); @Override void onSpace(); @Override void onSpecialSymbol(char symbol); @Override void onHorizontalLine(Map<String, String> parameters); @Override void onEmptyLines(int count); @Override void onVerbatim(String content, boolean inline, Map<String, String> parameters); @Override void beginDefinitionList(Map<String, String> parameters); @Override void beginDefinitionTerm(); @Override void beginDefinitionDescription(); @Override void beginQuotationLine(); @Override void beginTable(Map<String, String> parameters); @Override void beginTableCell(Map<String, String> parameters); @Override void beginTableHeadCell(Map<String, String> parameters); @Override void beginTableRow(Map<String, String> parameters); @Override void onImage(ResourceReference reference, boolean freestanding, Map<String, String> parameters); @Override void onRawText(String text, Syntax syntax);  }