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