org.xwiki.rendering.internal.parser.wikimodel.xhtml
Class XWikiImageTagHandler

java.lang.Object
  extended by org.wikimodel.wem.xhtml.handler.TagHandler
      extended by org.wikimodel.wem.xhtml.handler.ReferenceTagHandler
          extended by org.wikimodel.wem.xhtml.handler.ImgTagHandler
              extended by org.xwiki.rendering.internal.parser.wikimodel.xhtml.XWikiImageTagHandler

public class XWikiImageTagHandler
extends org.wikimodel.wem.xhtml.handler.ImgTagHandler

Handle IMG tag since we're putting the original image reference into XHTML comments so that we can reconstruct the reference when moving back from XHTML to wiki syntax.

Since:
1.7M2
Version:
$Id$

Constructor Summary
XWikiImageTagHandler()
           
 
Method Summary
protected  void begin(org.wikimodel.wem.xhtml.impl.XhtmlHandler.TagStack.TagContext context)
          
protected  void end(org.wikimodel.wem.xhtml.impl.XhtmlHandler.TagStack.TagContext context)
          
 void initialize(org.wikimodel.wem.xhtml.impl.XhtmlHandler.TagStack stack)
          
protected  org.wikimodel.wem.WikiParameters removeMeaningfulParameters(org.wikimodel.wem.WikiParameters parameters)
           
 
Methods inherited from class org.wikimodel.wem.xhtml.handler.ReferenceTagHandler
isFreeStandingReference, removeFreestanding
 
Methods inherited from class org.wikimodel.wem.xhtml.handler.TagHandler
beginDocument, beginDocument, beginElement, endDocument, endElement, isAccumulateContent, isBlockHandler, isContentContainer, isDocumentContainer, requiresDocument, sendEmptyLines, setAccumulateContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XWikiImageTagHandler

public XWikiImageTagHandler()
Method Detail

initialize

public void initialize(org.wikimodel.wem.xhtml.impl.XhtmlHandler.TagStack stack)

Overrides:
initialize in class org.wikimodel.wem.xhtml.handler.TagHandler
See Also:
TagHandler.initialize(org.wikimodel.wem.xhtml.impl.XhtmlHandler.TagStack)

begin

protected void begin(org.wikimodel.wem.xhtml.impl.XhtmlHandler.TagStack.TagContext context)

Overrides:
begin in class org.wikimodel.wem.xhtml.handler.ReferenceTagHandler
See Also:
ReferenceTagHandler.begin(org.wikimodel.wem.xhtml.impl.XhtmlHandler.TagStack.TagContext)

end

protected void end(org.wikimodel.wem.xhtml.impl.XhtmlHandler.TagStack.TagContext context)

Overrides:
end in class org.wikimodel.wem.xhtml.handler.ImgTagHandler
See Also:
ImgTagHandler.end(org.wikimodel.wem.xhtml.impl.XhtmlHandler.TagStack.TagContext)

removeMeaningfulParameters

protected org.wikimodel.wem.WikiParameters removeMeaningfulParameters(org.wikimodel.wem.WikiParameters parameters)
Overrides:
removeMeaningfulParameters in class org.wikimodel.wem.xhtml.handler.ImgTagHandler


Copyright © 2004-2011 XWiki. All Rights Reserved.