public class MacroMarkerBlockMatcher extends ClassBlockMatcher
BlockMatcher
which matches MacroMarkerBlock
s for a list of provided macro names.Constructor and Description |
---|
MacroMarkerBlockMatcher(String... macroIds)
Match
MacroMarkerBlock s having the passed ids. |
Modifier and Type | Method and Description |
---|---|
boolean |
match(Block block)
True if the provided block is matched.
|
public MacroMarkerBlockMatcher(String... macroIds)
MacroMarkerBlock
s having the passed ids.macroIds
- the macro ids to matchpublic boolean match(Block block)
BlockMatcher
match
in interface BlockMatcher
match
in class ClassBlockMatcher
block
- the block to matchCopyright © 2004–2021 XWiki. All rights reserved.