public class ClassBlockMatcher extends Object implements BlockMatcher
BlockMatcher which match any Block with the provided class.| Constructor and Description |
|---|
ClassBlockMatcher(Class<? extends Block> blockClass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(Block block)
True if the provided block is matched.
|
public boolean match(Block block)
BlockMatchermatch in interface BlockMatcherblock - the block to matchCopyright © 2004–2022 XWiki. All rights reserved.