Liferay 6.2-ce-ga5

com.liferay.portal.parsers.creole.visitor.impl
Class XhtmlTranslationVisitor

java.lang.Object
  extended by com.liferay.portal.parsers.creole.visitor.impl.XhtmlTranslationVisitor
All Implemented Interfaces:
ASTVisitor
Direct Known Subclasses:
XhtmlTranslator

public class XhtmlTranslationVisitor
extends Object
implements ASTVisitor


Constructor Summary
XhtmlTranslationVisitor()
           
 
Method Summary
protected  void append(Object object)
           
protected  void appendInterwikiLinkNode(InterwikiLinkNode interwikiLinkNode)
           
protected  void appendLevelTags(int nodeLevel, boolean ordered)
           
 String translate(WikiPageNode wikiPageNode)
           
protected  void traverse(List<ASTNode> astNodes)
           
protected  void traverse(List<ASTNode> astNodes, String open, String close)
           
protected  void traverseAndWriteForEach(List<ASTNode> astNodes, String open, String close)
           
 void visit(BoldTextNode boldTextNode)
           
 void visit(C2InterwikiLinkNode c2InterwikiLinkNode)
           
 void visit(CollectionNode collectionNode)
           
 void visit(DokuWikiInterwikiLinkNode dokuWikiInterwikiLinkNode)
           
 void visit(FlickrInterwikiLinkNode flickrInterwikiLinkNode)
           
 void visit(ForcedEndOfLineNode forcedEndOfLineNode)
           
 void visit(FormattedTextNode formattedTextNode)
           
 void visit(GoogleInterwikiLinkNode googleInterwikiLinkNode)
           
 void visit(HeadingNode headingNode)
           
 void visit(HorizontalNode horizontalNode)
           
 void visit(ImageNode imageNode)
           
 void visit(ItalicTextNode italicTextNode)
           
 void visit(JSPWikiInterwikiLinkNode jspWikiInterwikiLinkNode)
           
 void visit(LineNode lineNode)
           
 void visit(LinkNode linkNode)
           
 void visit(ListNode listNode)
           
 void visit(MeatballInterwikiLinkNode meatballInterwikiLinkNode)
           
 void visit(MediaWikiInterwikiLinkNode mediaWikiInterwikiLinkNode)
           
 void visit(MoinMoinInterwikiLinkNode moinMoinInterwikiLinkNode)
           
 void visit(NoWikiSectionNode noWikiSectionNode)
           
 void visit(OddmuseInterwikiLinkNode oddmuseInterwikiLinkNode)
           
 void visit(OhanaInterwikiLinkNode ohanaInterwikiLinkNode)
           
 void visit(OrderedListItemNode orderedListItemNode)
           
 void visit(OrderedListNode orderedListNode)
           
 void visit(ParagraphNode paragraphNode)
           
 void visit(PmWikiInterwikiLinkNode pmWikiInterwikiLinkNode)
           
 void visit(PukiWikiInterwikiLinkNode pukiWikiInterwikiLinkNode)
           
 void visit(PurpleWikiInterwikiLinkNode purpleWikiInterwikiLinkNode)
           
 void visit(RadeoxInterwikiLinkNode radeoxInterwikiLinkNode)
           
 void visit(ScapedNode scapedNode)
           
 void visit(SnipSnapInterwikiLinkNode snipSnapInterwikiLinkNode)
           
 void visit(TableDataNode tableDataNode)
           
 void visit(TableHeaderNode tableHeaderNode)
           
 void visit(TableNode tableNode)
           
 void visit(TableOfContentsNode tableOfContentsNode)
           
 void visit(TiddlyWikiInterwikiLinkNode tiddlyWikiInterwikiLinkNode)
           
 void visit(TWikiInterwikiLinkNode tWikiInterwikiLinkNode)
           
 void visit(UnformattedTextNode unformattedTextNode)
           
 void visit(UnorderedListItemNode unorderedListItemNode)
           
 void visit(UnorderedListNode unorderedListNode)
           
 void visit(UsemodInterwikiLinkNode usemodInterwikiLinkNode)
           
 void visit(WikiPageNode wikiPageNode)
           
 void visit(WikipediaInterwikiLinkNode wikipediaInterwikiLinkNode)
           
 void visit(XWikiInterwikiLinkNode xWikiInterwikiLinkNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XhtmlTranslationVisitor

public XhtmlTranslationVisitor()
Method Detail

translate

public String translate(WikiPageNode wikiPageNode)

visit

public void visit(BoldTextNode boldTextNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(C2InterwikiLinkNode c2InterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(CollectionNode collectionNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(DokuWikiInterwikiLinkNode dokuWikiInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(FlickrInterwikiLinkNode flickrInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(ForcedEndOfLineNode forcedEndOfLineNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(FormattedTextNode formattedTextNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(GoogleInterwikiLinkNode googleInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(HeadingNode headingNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(HorizontalNode horizontalNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(ImageNode imageNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(ItalicTextNode italicTextNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(JSPWikiInterwikiLinkNode jspWikiInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(LineNode lineNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(LinkNode linkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(ListNode listNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(MeatballInterwikiLinkNode meatballInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(MediaWikiInterwikiLinkNode mediaWikiInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(MoinMoinInterwikiLinkNode moinMoinInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(NoWikiSectionNode noWikiSectionNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(OddmuseInterwikiLinkNode oddmuseInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(OhanaInterwikiLinkNode ohanaInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(OrderedListItemNode orderedListItemNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(OrderedListNode orderedListNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(ParagraphNode paragraphNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(PmWikiInterwikiLinkNode pmWikiInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(PukiWikiInterwikiLinkNode pukiWikiInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(PurpleWikiInterwikiLinkNode purpleWikiInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(RadeoxInterwikiLinkNode radeoxInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(ScapedNode scapedNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(SnipSnapInterwikiLinkNode snipSnapInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(TableDataNode tableDataNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(TableHeaderNode tableHeaderNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(TableNode tableNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(TableOfContentsNode tableOfContentsNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(TiddlyWikiInterwikiLinkNode tiddlyWikiInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(TWikiInterwikiLinkNode tWikiInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(UnformattedTextNode unformattedTextNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(UnorderedListItemNode unorderedListItemNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(UnorderedListNode unorderedListNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(UsemodInterwikiLinkNode usemodInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(WikiPageNode wikiPageNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(WikipediaInterwikiLinkNode wikipediaInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

visit

public void visit(XWikiInterwikiLinkNode xWikiInterwikiLinkNode)
Specified by:
visit in interface ASTVisitor

append

protected void append(Object object)

appendInterwikiLinkNode

protected void appendInterwikiLinkNode(InterwikiLinkNode interwikiLinkNode)

appendLevelTags

protected void appendLevelTags(int nodeLevel,
                               boolean ordered)

traverse

protected void traverse(List<ASTNode> astNodes)

traverse

protected void traverse(List<ASTNode> astNodes,
                        String open,
                        String close)

traverseAndWriteForEach

protected void traverseAndWriteForEach(List<ASTNode> astNodes,
                                       String open,
                                       String close)

Liferay 6.2-ce-ga5