Filter.
| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
JDOM2 Serialization: Default mechanism |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final Filter | and(Filter<?>
a second Filter to AND with. filter)Implements org. |
| public List | filter(List<?>
The content to filter. content)Implements org. |
| public final boolean | matches(Object
The object to verify. content)Implements org. |
| public final Filter | |
| public final Filter | or(Filter<?>
a second Filter to OR with. filter)Implements org. |
| public <R> Filter | refine(Filter<R>
The filter to refine our results with. filter)Implements org. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID JDOM2 Serialization: Default mechanism | |
| AbstractFilter | back to summary |
|---|---|
| public AbstractFilter() | |
| and | back to summary |
|---|---|
| public final Filter Implements org. Doc from org. Creates an ANDing filter. The generic type of the result is the same as this Filter. | |
| filter | back to summary |
|---|---|
| public List Implements org. Doc from org. Filter the input list keeping only the items that match the Filter. | |
| matches | back to summary |
|---|---|
| public final boolean matches(Object content) Implements org. Doc from org. Check to see if the object matches a predefined set of rules. | |
| negate | back to summary |
|---|---|
| public final Filter Implements org. Doc from org. Creates an 'inverse' filter | |
| or | back to summary |
|---|---|
| public final Filter Implements org. Doc from org. Creates an ORing filter | |
| refine | back to summary |
|---|---|
| public <R> Filter Implements org. Doc from org. This is similar to the and(Filter) method except the generic type is different.
| |