public class PreTag extends OpenCloseTag
| Modifier and Type | Field and Description |
|---|---|
protected static String |
PRE_CLOSE |
protected static String |
PRE_OPEN |
protected static String |
SOURCE_CLOSE |
protected static String |
SOURCE_OPEN |
closeStr, formatContent, openStrfconvertPlainText| Constructor and Description |
|---|
PreTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(TagNode node,
StringBuilder resultBuffer)
Write the closing wiki syntax for this tag to the result buffer
|
void |
content(AbstractHTMLToWiki w,
TagNode node,
StringBuilder resultBuffer,
boolean showWithoutTag)
Convert the current HTML node into wiki text.
|
void |
open(TagNode node,
StringBuilder resultBuffer)
Write the opening wiki syntax for this tag to the result buffer
|
formatContent, getCloseStr, getOpenStr, setCloseStr, setOpenStremptyContent, getFirstContentprotected static final String PRE_OPEN
protected static final String PRE_CLOSE
protected static final String SOURCE_OPEN
protected static final String SOURCE_CLOSE
public void open(TagNode node, StringBuilder resultBuffer)
HTMLTagopen in interface HTMLTagopen in class OpenCloseTagHTMLTag.close(TagNode, StringBuilder)public void close(TagNode node, StringBuilder resultBuffer)
HTMLTagclose in interface HTMLTagclose in class OpenCloseTagHTMLTag.open(TagNode, StringBuilder)public void content(AbstractHTMLToWiki w, TagNode node, StringBuilder resultBuffer, boolean showWithoutTag)
HTMLTagcontent in interface HTMLTagcontent in class OpenCloseTagw - the converter which contains the special wiki tag conversion
rules.node - the current HTML node which should be converted to HTMLresultBuffer - the resulting HTML buffershowWithoutTag - if true don't call the open() and close() method for
this tagCopyright © 2017 Java Wikipedia API (Bliki engine). All rights reserved.