org.xwiki.rendering.block.match
public class MacroBlockMatcher extends ClassBlockMatcher
BlockMatcher which matches MacroBlocks.| Constructor and Description |
|---|
MacroBlockMatcher(String macroId)
Match
MacroBlock having the passed id. |
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-2013 XWiki. All Rights Reserved.