org.hd.d.pg2k.webSvr.exhibit
Class BuiltInFilters.filtByCategory

java.lang.Object
  extended by org.hd.d.pg2k.webSvr.exhibit.BuiltInFilters.filtByCategory
All Implemented Interfaces:
java.io.Serializable, AllExhibitProperties.AEPFilter, ExprIF, FilterIF
Enclosing class:
BuiltInFilters

public static final class BuiltInFilters.filtByCategory
extends java.lang.Object
implements FilterIF

Filter by category. FIXME: add equals() and hashCode().

See Also:
Serialized Form

Field Summary
private  java.lang.String[] acceptableCategories
           
 
Constructor Summary
BuiltInFilters.filtByCategory(java.lang.String[] args)
          Accepts zero or more categories; an exhibit matching any of them is accepted.
 
Method Summary
 boolean accept(AllExhibitProperties aep, Name.ExhibitFull exhibitName)
          Returns true if the exhibit (specified by full name) should be accepted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

acceptableCategories

private final java.lang.String[] acceptableCategories
Constructor Detail

BuiltInFilters.filtByCategory

public BuiltInFilters.filtByCategory(java.lang.String[] args)
Accepts zero or more categories; an exhibit matching any of them is accepted.

Method Detail

accept

public boolean accept(AllExhibitProperties aep,
                      Name.ExhibitFull exhibitName)
Description copied from interface: FilterIF
Returns true if the exhibit (specified by full name) should be accepted.

Specified by:
accept in interface AllExhibitProperties.AEPFilter
Specified by:
accept in interface FilterIF

DHD Multimedia Gallery V1.53.0

Copyright (c) 1996-2009, Damon Hart-Davis. All rights reserved.