|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfable.utility.strategy.MarkFilter
public class MarkFilter
MarkFilter filters out articles that have (or don't have) a certain mark
| Constructor Summary | |
|---|---|
MarkFilter(Mark mark,
boolean accept)
Create a new MarkFilter |
|
| Method Summary | |
|---|---|
boolean |
isOk(FableComponent t)
Determines if the FableComponent should be allowed in the filter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MarkFilter(Mark mark,
boolean accept)
mark - The mark to checkaccept - true if we should accept articles with ONLY this mark, false if we should accept ALL articles EXCEPT those with this mark| Method Detail |
|---|
public boolean isOk(FableComponent t)
FilterStrategy
isOk in interface FilterStrategyt - FableComponent to check
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||