info.bliki.html.wikipedia
Interface HTMLTag

All Known Implementing Classes:
AbstractHTMLTag, ATag, CaptionTag, ConvertEmptyHTMLTag, FontTag, ImgTag, ListGCTag, ListTag, NoOutputTag, OpenCloseHTMLTag, OpenCloseTag, PreTag, TableGCTag, TableTag, TdGCTag, TdJSPWikiTag, TdTag, ThGCTag, ThJSPWikiTag, ThTag, TrGCTag, TrJSPWikiTag, TrTag

public interface HTMLTag

Interface for HTML to Wiki Tag conversion


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 html2WikiConverter, 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.
 void open(TagNode node, java.lang.StringBuilder resultBuffer)
          Write the opening wiki syntax for this tag to the result buffer
 

Method Detail

close

void close(TagNode node,
           java.lang.StringBuilder resultBuffer)
Write the closing wiki syntax for this tag to the result buffer

Parameters:
node -
resultBuffer -
See Also:
open(TagNode, StringBuilder)

emptyContent

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.

Parameters:
html2WikiConverter - the converter which contains the special wiki tag conversion rules.
node - the current HTML node which should be converted to HTML
resultBuffer - the resulting HTML buffer
showWithoutTag - if true don't call the open() and close() method for this tag

content

void content(AbstractHTMLToWiki html2WikiConverter,
             TagNode node,
             java.lang.StringBuilder resultBuffer,
             boolean showWithoutTag)
Convert the current HTML node into wiki text.

Parameters:
html2WikiConverter - the converter which contains the special wiki tag conversion rules.
node - the current HTML node which should be converted to HTML
resultBuffer - the resulting HTML buffer
showWithoutTag - if true don't call the open() and close() method for this tag

open

void open(TagNode node,
          java.lang.StringBuilder resultBuffer)
Write the opening wiki syntax for this tag to the result buffer

Parameters:
node -
resultBuffer -
See Also:
close(TagNode, StringBuilder)


Copyright © 2012 Java Wikipedia API (Bliki engine). All Rights Reserved.