Package org.xwiki.rendering.block.match
Class AnyBlockMatcher
java.lang.Object
org.xwiki.rendering.block.match.AnyBlockMatcher
- All Implemented Interfaces:
BlockMatcher
Implementation of
BlockMatcher which match any Block.- Since:
- 3.0M3
- Version:
- $Id: 1830c645e9b1486b76a5280d35ea012eb942a1b2 $
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AnyBlockMatcherStatic version ofAnyBlockMatchersince it's always the same. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ANYBLOCKMATCHER
Static version ofAnyBlockMatchersince it's always the same.
-
-
Constructor Details
-
AnyBlockMatcher
public AnyBlockMatcher()
-
-
Method Details
-
match
Description copied from interface:BlockMatcherTrue if the provided block is matched.- Specified by:
matchin interfaceBlockMatcher- Parameters:
block- the block to match- Returns:
- true if the provided block is matched, false otherwise
-