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