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)
BlockMatcher
match
in interface BlockMatcher
block
- the block to matchCopyright © 2004–2021 XWiki. All rights reserved.