org.xwiki.rendering.block.match
public class CompositeBlockMatcher extends Object implements BlockMatcher
BlockMatcher which matches blocks using passed matchers in series.| Constructor and Description |
|---|
CompositeBlockMatcher(BlockMatcher... matchers) |
CompositeBlockMatcher(List<BlockMatcher> matchers) |
public CompositeBlockMatcher(List<BlockMatcher> matchers)
matchers - list of matchers to addpublic CompositeBlockMatcher(BlockMatcher... matchers)
matchers - vararg list of matchers to addpublic boolean match(Block block)
BlockMatchermatch in interface BlockMatcherblock - the block to matchCopyright © 2004-2013 XWiki. All Rights Reserved.