org.xwiki.rendering.wikimodel.xhtml.handler
Class DivisionTagHandler

java.lang.Object
  extended by org.xwiki.rendering.wikimodel.xhtml.handler.TagHandler
      extended by org.xwiki.rendering.wikimodel.xhtml.handler.DivisionTagHandler

public class DivisionTagHandler
extends TagHandler

Since:
4.0M1
Version:
$Id: 283d8973e3eadc7b22bbcb4bd68beddd16ba563d $

Constructor Summary
DivisionTagHandler()
           
 
Method Summary
protected  void begin(XhtmlHandler.TagStack.TagContext context)
           
protected  void end(XhtmlHandler.TagStack.TagContext context)
           
protected  String getDocumentClass()
           
 boolean isBlockHandler(XhtmlHandler.TagStack.TagContext context)
           
 
Methods inherited from class org.xwiki.rendering.wikimodel.xhtml.handler.TagHandler
beginDocument, beginDocument, beginElement, endDocument, endElement, initialize, isAccumulateContent, isContentContainer, isDocumentContainer, requiresDocument, sendEmptyLines, sendEmptyLines, setAccumulateContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DivisionTagHandler

public DivisionTagHandler()
Method Detail

isBlockHandler

public boolean isBlockHandler(XhtmlHandler.TagStack.TagContext context)
Overrides:
isBlockHandler in class TagHandler
Returns:
true if the current handler handles block tags (paragraphs, lists, tables, headers, etc)

getDocumentClass

protected String getDocumentClass()
Returns:
the class used to indicate the division block is an embedded document. Note that use a method instead of a static private String field so that user code can override the class name.

begin

protected void begin(XhtmlHandler.TagStack.TagContext context)
Overrides:
begin in class TagHandler

end

protected void end(XhtmlHandler.TagStack.TagContext context)
Overrides:
end in class TagHandler


Copyright © 2004–2014 XWiki. All rights reserved.