Class AnyBlockMatcher

java.lang.Object
org.xwiki.rendering.block.match.AnyBlockMatcher
All Implemented Interfaces:
BlockMatcher

public class AnyBlockMatcher extends Object implements BlockMatcher
Implementation of BlockMatcher which match any Block.
Since:
3.0M3
Version:
$Id: 1830c645e9b1486b76a5280d35ea012eb942a1b2 $
  • Field Details

  • Constructor Details

    • AnyBlockMatcher

      public AnyBlockMatcher()
  • Method Details

    • match

      public boolean match(Block block)
      Description copied from interface: BlockMatcher
      True if the provided block is matched.
      Specified by:
      match in interface BlockMatcher
      Parameters:
      block - the block to match
      Returns:
      true if the provided block is matched, false otherwise