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

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

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

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

See Also:
Serialized Form

Field Summary
private  java.lang.String[] acceptableAuthors
           
 
Constructor Summary
BuiltInFilters.filtByAuthor(java.lang.String[] args)
          Accepts zero or more author (initials); 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

acceptableAuthors

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

BuiltInFilters.filtByAuthor

public BuiltInFilters.filtByAuthor(java.lang.String[] args)
Accepts zero or more author (initials); 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.