BeanField.
| Modifier and Type | Field and Description |
|---|---|
| private final Pattern | regex
The compiled regular expression used to match header names. |
| Access | Constructor and Description |
|---|---|
| public | RegexToBeanField(final String
A valid regular expression against which potential header
names are matched pattern, final BeanField<T, String> The field, final Locale BeanField this mapping maps toThe locale for error messages errorLocale)Initializes this mapping with the regular expression used to map header
names and the |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | contains(String key)
Implements com. Determines whether or not the given key is contained in this entry. |
| public String | getInitializer()
Implements com. Returns the information used to initialize this entry. |
| regex | back to summary |
|---|---|
| private final Pattern regex The compiled regular expression used to match header names. | |
| RegexToBeanField | back to summary |
|---|---|
| public RegexToBeanField(final String pattern, final BeanField<T, String> field, final Locale errorLocale) Initializes this mapping with the regular expression used to map header
names and the | |
| contains | back to summary |
|---|---|
| public boolean contains(String key) Implements com. Doc from com. Determines whether or not the given key is contained in this entry.
| |
| getInitializer | back to summary |
|---|---|
| public String getInitializer() Implements com. Doc from com. Returns the information used to initialize this entry. This information is not guaranteed to be exactly the same as the original value, but is functionally equivalent.
| |