public class AnyBlockMatcher extends Object implements BlockMatcher
BlockMatcher which match any Block.| Modifier and Type | Field and Description |
|---|---|
static AnyBlockMatcher |
ANYBLOCKMATCHER
Static version of
AnyBlockMatcher since it's always the same. |
| Constructor and Description |
|---|
AnyBlockMatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(Block block)
True if the provided block is matched.
|
public static final AnyBlockMatcher ANYBLOCKMATCHER
AnyBlockMatcher since it's always the same.public boolean match(Block block)
BlockMatchermatch in interface BlockMatcherblock - the block to matchCopyright © 2004–2019 XWiki. All rights reserved.