public class FixedFileFieldRegexValidator extends FixedFileFieldBasicValidator implements FixedFileFieldValidator
Modifier and Type | Field and Description |
---|---|
static String |
ATT_NAME_REGEX |
ATT_NAME_ID, ATT_NAME_LOCALE, ATT_NAME_REQUIRED, DEFAULT_BUNDLE_PATH, logger
Constructor and Description |
---|
FixedFileFieldRegexValidator() |
Modifier and Type | Method and Description |
---|---|
FixedFileFieldValidationResult |
checkField(String fieldLabel,
String fieldValue,
int rowNumber,
int colNumber) |
void |
configure(Element tag)
Configure the object.
|
String |
getRegex() |
checkRequired, configure, defaultFormatMessage, getBundle, getId, isRequired, messageFormatWorker, newBundle, newBundle
configure
configureProperties, configureXML
getLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure, configureProperties, configureXML
public static final String ATT_NAME_REGEX
public String getRegex()
public FixedFileFieldValidationResult checkField(String fieldLabel, String fieldValue, int rowNumber, int colNumber)
checkField
in interface FixedFileFieldValidator
checkField
in class FixedFileFieldBasicValidator
public void configure(Element tag) throws ConfigException
ConfigurableObject
Configure the object.
configure
in interface ConfigurableObject
configure
in class FixedFileFieldBasicValidator
tag
- The tag object to use for configuration.ConfigException
- If troubles arise during object configuration.Copyright © 2022 Fugerit. All rights reserved.