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 java.lang.Object
implements Content.ContentFilter

Version:
$Revision: 32667 $ ($Author: gjoseph $)
Author:
Sameer Charles

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)
Parameters:
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
Parameters:
content -
Returns:
if true this will be a part of collection


Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.