| Package | Description |
|---|---|
| org.xwiki.rendering.block |
Represents content elements (Paragraph, Header, List, Styles, etc) as Blocks and a full document content is represented by a XDOM object.
|
| org.xwiki.rendering.block.match |
| Modifier and Type | Method and Description |
|---|---|
<T extends Block> |
Block.getBlocks(BlockMatcher matcher,
Block.Axes axes)
Get all blocks following provided
BlockMatcher and Block.Axes. |
<T extends Block> |
AbstractBlock.getBlocks(BlockMatcher matcher,
Block.Axes axes) |
<T extends Block> |
Block.getFirstBlock(BlockMatcher matcher,
Block.Axes axes)
Get the first matched block in the provided
Block.Axes. |
<T extends Block> |
AbstractBlock.getFirstBlock(BlockMatcher matcher,
Block.Axes axes) |
| Modifier and Type | Class and Description |
|---|---|
class |
AnyBlockMatcher
Implementation of
BlockMatcher which match any Block. |
class |
ClassBlockMatcher
Implementation of
BlockMatcher which match any Block with the provided class. |
class |
CompositeBlockMatcher
Implementation of
BlockMatcher which matches blocks using passed matchers in series. |
class |
EqualsBlockMatcher
|
class |
MacroBlockMatcher
Implementation of
BlockMatcher which matches MacroBlocks. |
class |
MetadataBlockMatcher
Implementation of
BlockMatcher which matches MetaData information. |
class |
OrBlockMatcher
Implementation of
BlockMatcher which matches blocks by matching with any
of the configured matchers. |
class |
SameBlockMatcher
|
| Constructor and Description |
|---|
BlockNavigator(BlockMatcher matcher) |
CompositeBlockMatcher(BlockMatcher... matchers) |
OrBlockMatcher(BlockMatcher... matchers) |
| Constructor and Description |
|---|
CompositeBlockMatcher(List<BlockMatcher> matchers) |
OrBlockMatcher(List<BlockMatcher> matchers) |
Copyright © 2004–2018 XWiki. All rights reserved.