org.xwiki.rendering.block.Block.clone()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(1.0k)|赞(0)|评价(0)|浏览(159)

本文整理了Java中org.xwiki.rendering.block.Block.clone()方法的一些代码示例,展示了Block.clone()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Block.clone()方法的具体详情如下:
包路径:org.xwiki.rendering.block.Block
类名称:Block
方法名:clone

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()

相关文章