|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface is used to allow the FILTER to work on Attributes and the FrameSpan.
| Nested Class Summary | |
static interface |
Filterable.Rule
This object tests a given value against a rule. |
| Method Summary | |
Filterable.Rule |
convertRule(java.lang.String unparsedRule,
java.util.List unparsedValues,
ErrorWriter err)
This converts a string into a rule, writing out errors in the format to err. |
boolean |
isValidRule(java.lang.String ruleName)
Tell if a name is a valid rule or not |
boolean |
passes(Filterable.Rule rule)
Tests to see if the value passes the given rule. |
| Method Detail |
public Filterable.Rule convertRule(java.lang.String unparsedRule,
java.util.List unparsedValues,
ErrorWriter err)
throws BadDataException
err.
unparsedRule - A string containing a single rule.unparsedValues - A string containing values.err - A place to log the errors.
BadDataExceptionpublic boolean isValidRule(java.lang.String ruleName)
ruleName - the name of the rule
public boolean passes(Filterable.Rule rule)
rule - the rule to check this value against
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||