本文整理了Java中org.xwiki.rendering.block.Block.getBlocks()
方法的一些代码示例,展示了Block.getBlocks()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Block.getBlocks()
方法的具体详情如下:
包路径:org.xwiki.rendering.block.Block
类名称:Block
方法名:getBlocks
暂无
代码示例来源:origin: org.xwiki.rendering/xwiki-rendering-macro-toc
parameters.rootBlock.getBlocks(new ClassBlockMatcher(HeaderBlock.class), Block.Axes.DESCENDANT);
代码示例来源:origin: org.xwiki.rendering/xwiki-rendering-macro-footnotes
root.getBlocks(new ClassBlockMatcher(MacroMarkerBlock.class), Block.Axes.DESCENDANT);
for (ListIterator<MacroMarkerBlock> it = footnotes.listIterator(); it.hasNext();) {
MacroMarkerBlock macro = it.next();
代码示例来源:origin: org.xwiki.platform/xwiki-platform-rendering-macro-container
container.getBlocks(new ClassBlockMatcher(GroupBlock.class), Block.Axes.CHILD);
内容来源于网络,如有侵权,请联系作者删除!