public class MacroBlockMatcher extends ClassBlockMatcher
BlockMatcher
which matches MacroBlock
s.Constructor and Description |
---|
MacroBlockMatcher(String macroId)
Match
MacroBlock having the passed id. |
Modifier and Type | Method and Description |
---|---|
boolean |
match(Block block)
True if the provided block is matched.
|
public MacroBlockMatcher(String macroId)
MacroBlock
having the passed id.macroId
- the macro id 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.