Class BlockTagHandler
- java.lang.Object
-
- org.xwiki.rendering.wikimodel.xhtml.handler.TagHandler
-
- org.xwiki.rendering.wikimodel.xhtml.handler.BlockTagHandler
-
- Direct Known Subclasses:
DivisionTagHandler
public class BlockTagHandler extends TagHandler
- Since:
- 7.0RC1
- Version:
- $Id: a4522c279df62f93f0126a2e37adc7c85bed813a $
-
-
Constructor Summary
Constructors Constructor Description BlockTagHandler()
BlockTagHandler(String documentClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
begin(TagContext context)
protected void
end(TagContext context)
String
getDocumentClass()
boolean
isBlockHandler(TagContext context)
-
Methods inherited from class org.xwiki.rendering.wikimodel.xhtml.handler.TagHandler
beginDocument, beginDocument, beginElement, endDocument, endElement, initialize, isAccumulateContent, isContentContainer, sendEmptyLines, sendEmptyLines, setAccumulateContent
-
-
-
-
Constructor Detail
-
BlockTagHandler
public BlockTagHandler()
-
BlockTagHandler
public BlockTagHandler(String documentClass)
-
-
Method Detail
-
isBlockHandler
public boolean isBlockHandler(TagContext context)
- Overrides:
isBlockHandler
in classTagHandler
- Returns:
- true if the current handler handles block tags (paragraphs, lists, tables, headers, etc)
-
getDocumentClass
public String getDocumentClass()
-
begin
protected void begin(TagContext context)
- Overrides:
begin
in classTagHandler
-
end
protected void end(TagContext context)
- Overrides:
end
in classTagHandler
-
-