Package org.xwiki.rendering.block.match
Class MacroMarkerBlockMatcher
java.lang.Object
org.xwiki.rendering.block.match.ClassBlockMatcher
org.xwiki.rendering.block.match.MacroMarkerBlockMatcher
- All Implemented Interfaces:
BlockMatcher
Implementation of
BlockMatcher which matches MacroMarkerBlocks for a list of provided macro names.- Since:
- 11.4
- Version:
- $Id: 58e8506ec203e93fb50dcf5a19a36634ca81ce9f $
-
Constructor Summary
ConstructorsConstructorDescriptionMacroMarkerBlockMatcher(String... macroIds) MatchMacroMarkerBlocks having the passed ids. -
Method Summary
-
Constructor Details
-
MacroMarkerBlockMatcher
MatchMacroMarkerBlocks having the passed ids.- Parameters:
macroIds- the macro ids 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
-