public interface SplittingCriterion
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldIterate(org.xwiki.rendering.block.Block block,
int depth)
Limits the recursive tree traversal performed by the
DocumentSplitter. |
boolean |
shouldSplit(org.xwiki.rendering.block.Block block,
int depth)
Indicates if the sub-tree rooted at the given block should be split into a separate document.
|
boolean shouldIterate(org.xwiki.rendering.block.Block block,
int depth)
DocumentSplitter.block - current Block being traversed by the document splitter.depth - depth of this block w.r.t root of the main xdom being split.boolean shouldSplit(org.xwiki.rendering.block.Block block,
int depth)
block - current Block being traversed by the document splitter.depth - depth of this block w.r.t root of the main xdom being split.Copyright © 2004–2021 XWiki. All rights reserved.