info.bliki.html.wikipedia
Class FontTag

java.lang.Object
  extended by info.bliki.html.wikipedia.AbstractHTMLTag
      extended by info.bliki.html.wikipedia.OpenCloseTag
          extended by info.bliki.html.wikipedia.OpenCloseHTMLTag
              extended by info.bliki.html.wikipedia.FontTag
All Implemented Interfaces:
HTMLTag

public class FontTag
extends OpenCloseHTMLTag


Field Summary
 
Fields inherited from class info.bliki.html.wikipedia.OpenCloseTag
closeStr, formatContent, openStr
 
Fields inherited from class info.bliki.html.wikipedia.AbstractHTMLTag
fconvertPlainText
 
Constructor Summary
FontTag(java.lang.String opener, java.lang.String closer)
           
 
Method Summary
 void content(AbstractHTMLToWiki w, TagNode node, java.lang.StringBuilder resultBuffer, boolean showWithoutTag)
          Convert the current HTML node into wiki text.
 void open(TagNode node, java.lang.StringBuilder resultBuffer)
          Write the opening wiki syntax for this tag to the result buffer
 
Methods inherited from class info.bliki.html.wikipedia.OpenCloseTag
close, formatContent, getCloseStr, getOpenStr, setCloseStr, setOpenStr
 
Methods inherited from class info.bliki.html.wikipedia.AbstractHTMLTag
emptyContent, getFirstContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontTag

public FontTag(java.lang.String opener,
               java.lang.String closer)
Method Detail

open

public void open(TagNode node,
                 java.lang.StringBuilder resultBuffer)
Description copied from interface: HTMLTag
Write the opening wiki syntax for this tag to the result buffer

Specified by:
open in interface HTMLTag
Overrides:
open in class OpenCloseHTMLTag
See Also:
HTMLTag.close(TagNode, StringBuilder)

content

public void content(AbstractHTMLToWiki w,
                    TagNode node,
                    java.lang.StringBuilder resultBuffer,
                    boolean showWithoutTag)
Description copied from interface: HTMLTag
Convert the current HTML node into wiki text.

Specified by:
content in interface HTMLTag
Overrides:
content in class OpenCloseTag
Parameters:
w - 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


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