public class MacroBlockMatcher extends ClassBlockMatcher
BlockMatcher which matches MacroBlocks.| 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)
BlockMatchermatch in interface BlockMatchermatch in class ClassBlockMatcherblock - the block to matchCopyright © 2004–2017 XWiki. All rights reserved.