Package org.xwiki.rendering.block.match
Class MacroBlockMatcher
java.lang.Object
org.xwiki.rendering.block.match.ClassBlockMatcher
org.xwiki.rendering.block.match.MacroBlockMatcher
- All Implemented Interfaces:
BlockMatcher
Implementation of
BlockMatcher which matches MacroBlocks.- Since:
- 3.0RC1
- Version:
- $Id: 4c636cc250d9cd2870284cf36561a78b830fae36 $
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MacroBlockMatcher
MatchMacroBlockhaving the passed id.- Parameters:
macroId- the macro id to match
-
-
Method Details
-
match
Description copied from interface:BlockMatcherTrue if the provided block is matched.- Specified by:
matchin interfaceBlockMatcher- Overrides:
matchin classClassBlockMatcher- Parameters:
block- the block to match- Returns:
- true if the provided block is matched, false otherwise
-