info.bliki.html.wikipedia
Class ATag
java.lang.Object
info.bliki.html.wikipedia.AbstractHTMLTag
info.bliki.html.wikipedia.ATag
- All Implemented Interfaces:
- HTMLTag
public class ATag
- extends AbstractHTMLTag
Field Summary |
protected java.lang.String |
closeStr
|
protected java.lang.String |
openStr
|
Constructor Summary |
ATag()
|
ATag(java.lang.String opener,
java.lang.String closer)
|
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 |
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 |
openStr
protected final java.lang.String openStr
closeStr
protected final java.lang.String closeStr
ATag
public ATag()
ATag
public ATag(java.lang.String opener,
java.lang.String closer)
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 AbstractHTMLTag
- 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 AbstractHTMLTag
- Parameters:
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 tag
close
public void close(TagNode node,
java.lang.StringBuilder resultBuffer)
- Description copied from interface:
HTMLTag
- Write the closing wiki syntax for this tag to the result buffer
- Specified by:
close
in interface HTMLTag
- Overrides:
close
in class AbstractHTMLTag
- See Also:
HTMLTag.open(TagNode, StringBuilder)
Copyright © 2012 Java Wikipedia API (Bliki engine). All Rights Reserved.