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> |
AbstractBlock.getBlocks(BlockMatcher matcher,
Block.Axes axes) |
<T extends Block> |
Block.getBlocks(BlockMatcher matcher,
Block.Axes axes)
Get all blocks following provided
BlockMatcher and Block.Axes . |
<T extends Block> |
AbstractBlock.getFirstBlock(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 . |
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 |
CounterBlockMatcher
Implementation of
BlockMatcher which match any Block with the provided class. |
class |
EqualsBlockMatcher
|
class |
MacroBlockMatcher
Implementation of
BlockMatcher which matches MacroBlock s. |
class |
MacroMarkerBlockMatcher
Implementation of
BlockMatcher which matches MacroMarkerBlock s for a list of provided macro names. |
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–2021 XWiki. All rights reserved.