info.magnolia.cms.util
Class RuleBasedContentFilter

java.lang.Object
  extended by 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 $)

Constructor Summary
RuleBasedContentFilter(Rule rule)
           
 
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
 

Constructor Detail

RuleBasedContentFilter

public RuleBasedContentFilter(Rule rule)
Method Detail

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-2011 Magnolia International Ltd.. All Rights Reserved.