|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.bliki.html.wikipedia.AbstractHTMLTag
public abstract class AbstractHTMLTag
Field Summary | |
---|---|
protected boolean |
fconvertPlainText
|
Constructor Summary | |
---|---|
AbstractHTMLTag()
|
|
AbstractHTMLTag(boolean noNewLine)
|
Method Summary | |
---|---|
void |
close(TagNode node,
java.lang.StringBuilder resultBuffer)
Write the closing wiki syntax for this tag to the result buffer |
void |
content(AbstractHTMLToWiki w,
TagNode node,
java.lang.StringBuilder resultBuffer,
boolean showWithoutTag)
Convert the current HTML node into wiki text. |
void |
emptyContent(AbstractHTMLToWiki html2WikiConverter,
TagNode node,
java.lang.StringBuilder resultBuffer,
boolean showWithoutTag)
Convert the current HTML node, which has no children nodes into wiki text. |
BaseToken |
getFirstContent(java.util.List<java.lang.Object> children,
java.lang.String tagName)
Get the first ContentToken or TagNode with the given tagName . |
void |
open(TagNode node,
java.lang.StringBuilder resultBuffer)
Write the opening wiki syntax for this tag to the result buffer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean fconvertPlainText
Constructor Detail |
---|
public AbstractHTMLTag()
public AbstractHTMLTag(boolean noNewLine)
Method Detail |
---|
public void close(TagNode node, java.lang.StringBuilder resultBuffer)
HTMLTag
close
in interface HTMLTag
HTMLTag.open(TagNode, StringBuilder)
public void open(TagNode node, java.lang.StringBuilder resultBuffer)
HTMLTag
open
in interface HTMLTag
HTMLTag.close(TagNode, StringBuilder)
public void emptyContent(AbstractHTMLToWiki html2WikiConverter, TagNode node, java.lang.StringBuilder resultBuffer, boolean showWithoutTag)
HTMLTag
emptyContent
in interface HTMLTag
html2WikiConverter
- 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, java.lang.StringBuilder resultBuffer, boolean showWithoutTag)
HTMLTag
content
in interface HTMLTag
w
- 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 BaseToken getFirstContent(java.util.List<java.lang.Object> children, java.lang.String tagName)
tagName
.
children
- tagName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |