Package com.google.gwt.util.regexfilter
Class WhitelistRegexFilter
- java.lang.Object
-
- com.google.gwt.util.regexfilter.RegexFilter
-
- com.google.gwt.util.regexfilter.WhitelistRegexFilter
-
- All Implemented Interfaces:
java.io.Serializable
public class WhitelistRegexFilter extends RegexFilter
ARegexFilterfor whitelisting.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WhitelistRegexFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanacceptByDefault()If no pattern matches, whether the query should be considered as an accept.protected booleanentriesArePositiveByDefault()If a pattern is not preceded by + or -, whether the query should be considered positive.java.lang.StringtoString()-
Methods inherited from class com.google.gwt.util.regexfilter.RegexFilter
add, addAll, addAll, getValues, isEmpty, isIncluded, isIncluded
-
-
-
-
Method Detail
-
acceptByDefault
protected boolean acceptByDefault()
Description copied from class:RegexFilterIf no pattern matches, whether the query should be considered as an accept.- Specified by:
acceptByDefaultin classRegexFilter
-
entriesArePositiveByDefault
protected boolean entriesArePositiveByDefault()
Description copied from class:RegexFilterIf a pattern is not preceded by + or -, whether the query should be considered positive.- Specified by:
entriesArePositiveByDefaultin classRegexFilter
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-