Package xal.tools.data
Class KeyValuePatternQualifier
java.lang.Object
xal.tools.data.KeyValuePatternQualifier
- All Implemented Interfaces:
Qualifier
Qualifier to filter (based on the specified pattern) a record's value
associated with a specified key.
-
Constructor Summary
ConstructorsConstructorDescriptionKeyValuePatternQualifier
(String key, String regularExpression) Constructor with the default pattern flags.KeyValuePatternQualifier
(String key, String regularExpression, int flags) Primary constructor -
Method Summary
-
Constructor Details
-
KeyValuePatternQualifier
Primary constructor- Parameters:
key
- the key identifying the value to test from the recordregularExpression
- the regular expression used for matchingflags
- pattern flags
-
KeyValuePatternQualifier
Constructor with the default pattern flags.- Parameters:
key
- the key identifying the value to test from the recordregularExpression
- the regular expression used for matching
-
-
Method Details
-
matches
Determine if the specified record's value associated with this qualifier's key is a match to this qualifier's pattern. The value corresponding to this qualifier's key must be ajava.lang.CharSequence
. -
toString
Get a string representation of this qualifier.
-