Package org.xwiki.rendering.block.match
Class SameBlockMatcher
- java.lang.Object
-
- org.xwiki.rendering.block.match.SameBlockMatcher
-
- All Implemented Interfaces:
BlockMatcher
public class SameBlockMatcher extends Object implements BlockMatcher
- Since:
- 3.0M3
- Version:
- $Id: 0fced97cd2a054d8e8d4594703409ba63f875943 $
-
-
Constructor Summary
Constructors Constructor Description SameBlockMatcher(Block block)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatch(Block block)True if the provided block is matched.
-
-
-
Constructor Detail
-
SameBlockMatcher
public SameBlockMatcher(Block block)
- Parameters:
block- the block to match
-
-
Method Detail
-
match
public boolean match(Block block)
Description copied from interface:BlockMatcherTrue if the provided block is matched.- Specified by:
matchin interfaceBlockMatcher- Parameters:
block- the block to match- Returns:
- true if the provided block is matched, false otherwise
-
-