|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecteTextReader.AnnotationListing.AnnotationTypeFilter
public class AnnotationTypeFilter
A filter that only accepts a certain type of annotation
Notation.AnnotationType| Field Summary | |
|---|---|
private Notation.AnnotationType |
type
The type of annotation this filter accepts |
| Constructor Summary | |
|---|---|
AnnotationTypeFilter(Notation.AnnotationType type)
Constructs a new AnnotationTypeFilter that accepts the given type of annotation |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Retrieves a description of this filter, used to display information about this filter in a menu item, button, etc. |
java.lang.String |
getEndDate()
Retrieves the ending date for notations that match this filter. |
java.lang.String |
getStartDate()
Retrieves the starting date for notations that match this filter. |
java.lang.String |
getType()
|
boolean |
include(Notation n)
Determines whether the notation n matches the criteria for inclusion provided by this filter |
boolean |
isDateFilter()
Determines whether this filter includes a date component; used to restrict the annotations returned by requestViewableAnnotations |
void |
setType(Notation.AnnotationType annotationType)
Changes the type of annotation that this filter responds to |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Notation.AnnotationType type
| Constructor Detail |
|---|
public AnnotationTypeFilter(Notation.AnnotationType type)
type - the type of annotation to accept| Method Detail |
|---|
public java.lang.String getEndDate()
NotationFilter
getEndDate in interface NotationFilterpublic java.lang.String getStartDate()
NotationFilterNotationFilterpublic boolean include(Notation n)
NotationFilter
include in interface NotationFiltern - the notation to filter
public boolean isDateFilter()
NotationFilter
isDateFilter in interface NotationFilterpublic void setType(Notation.AnnotationType annotationType)
annotationType - public java.lang.String getType()
public java.lang.String getDescription()
NotationFilter
getDescription in interface NotationFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||