public abstract class AbstractHTMLTag extends Object implements HTMLTag
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
fconvertPlainText |
| Constructor and Description |
|---|
AbstractHTMLTag() |
AbstractHTMLTag(boolean noNewLine) |
| 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 |
emptyContent(AbstractHTMLToWiki html2WikiConverter,
TagNode node,
StringBuilder resultBuffer,
boolean showWithoutTag)
Convert the current HTML node, which has no children nodes into wiki text.
|
BaseToken |
getFirstContent(List<Object> children,
String tagName)
Get the first ContentToken or TagNode with the given
tagName. |
void |
open(TagNode node,
StringBuilder resultBuffer)
Write the opening wiki syntax for this tag to the result buffer
|
public AbstractHTMLTag()
public AbstractHTMLTag(boolean noNewLine)
public void close(TagNode node, StringBuilder resultBuffer)
HTMLTagclose in interface HTMLTagHTMLTag.open(TagNode, StringBuilder)public void open(TagNode node, StringBuilder resultBuffer)
HTMLTagopen in interface HTMLTagHTMLTag.close(TagNode, StringBuilder)public void emptyContent(AbstractHTMLToWiki html2WikiConverter, TagNode node, StringBuilder resultBuffer, boolean showWithoutTag)
HTMLTagemptyContent in interface HTMLTaghtml2WikiConverter - 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 tagpublic void content(AbstractHTMLToWiki w, TagNode node, StringBuilder resultBuffer, boolean showWithoutTag)
HTMLTagcontent in interface HTMLTagw - 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.