info.magnolia.cms.util
Class RuleBasedContentFilter
java.lang.Object
info.magnolia.cms.util.RuleBasedContentFilter
- All Implemented Interfaces:
- Content.ContentFilter
public class RuleBasedContentFilter
- extends Object
- implements Content.ContentFilter
A ContentFilter
using a Rule
.
- Version:
- $Revision: 41137 $ ($Author: gjoseph $)
Method Summary |
boolean |
accept(Content content)
Test if this content should be included in a resultant collection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleBasedContentFilter
public RuleBasedContentFilter(Rule rule)
accept
public boolean accept(Content content)
- Test if this content should be included in a resultant collection.
- Specified by:
accept
in interface Content.ContentFilter
- Returns:
- if true this will be a part of collection
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.