org.xwiki.rendering.internal.parser.wikimodel.xhtml
Class XWikiCommentHandler
java.lang.Object
org.wikimodel.wem.xhtml.handler.CommentHandler
org.xwiki.rendering.internal.parser.wikimodel.xhtml.XWikiCommentHandler
public class XWikiCommentHandler
- extends org.wikimodel.wem.xhtml.handler.CommentHandler
Handle Link and Macro definitions in comments (we store links in a comment since otherwise there are situations where
it's not possible to reconstruct the original reference from the rendered HTML value and for macros it wouldn't be
possible at all to reconstruct the macro).
- Since:
- 1.7M1
- Version:
- $Id$
Method Summary |
void |
onComment(java.lang.String content,
org.wikimodel.wem.xhtml.impl.XhtmlHandler.TagStack stack)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XWikiCommentHandler
public XWikiCommentHandler(org.xwiki.component.manager.ComponentManager componentManager,
WikiModelXHTMLParser parser,
ResourceReferenceParser imageReferenceParser,
PrintRendererFactory xwikiSyntaxPrintRendererFactory,
ResourceReferenceParser xhtmlMarkerResourceReferenceParser)
- Since:
- 2.5RC1
onComment
public void onComment(java.lang.String content,
org.wikimodel.wem.xhtml.impl.XhtmlHandler.TagStack stack)
- Overrides:
onComment
in class org.wikimodel.wem.xhtml.handler.CommentHandler
Copyright © 2004-2011 XWiki. All Rights Reserved.