本文整理了Java中org.xwiki.rendering.block.Block.clone()
方法的一些代码示例,展示了Block.clone()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Block.clone()
方法的具体详情如下:
包路径:org.xwiki.rendering.block.Block
类名称:Block
方法名:clone
暂无
代码示例来源:origin: org.xwiki.platform/xwiki-platform-localization-api
@Override
public Block render(Locale locale, Collection<TranslationBundle> bundles, Object... parameters)
{
return this.block.clone();
}
}
代码示例来源:origin: org.xwiki.platform/xwiki-core-rendering-api
for (Block childBlock : this.childrenBlocks) {
if (blockFilter != null) {
Block clonedChildBlocks = childBlock.clone(blockFilter);
block.addChild(childBlock.clone());
代码示例来源:origin: org.xwiki.platform/xwiki-platform-refactoring-api
DocumentResourceReference reference = new DocumentResourceReference(target);
Block clonedHeaderBlock = firstBlock.clone(new BlockFilter()
代码示例来源:origin: org.xwiki.platform/xwiki-platform-refactoring-api
if (firstChild instanceof HeaderBlock) {
Block clonedHeaderBlock = firstChild.clone(new BlockFilter()
内容来源于网络,如有侵权,请联系作者删除!