Class FixedFileFieldRegexValidator
- java.lang.Object
-
- org.fugerit.java.core.cfg.helpers.AbstractConfigurableObject
-
- org.fugerit.java.core.cfg.helpers.XMLConfigurableObject
-
- org.fugerit.java.core.fixed.parser.FixedFileFieldBasicValidator
-
- org.fugerit.java.core.fixed.parser.FixedFileFieldRegexValidator
-
- All Implemented Interfaces:
Serializable
,ConfigurableObject
,FixedFileFieldValidator
,LogObject
public class FixedFileFieldRegexValidator extends FixedFileFieldBasicValidator implements FixedFileFieldValidator
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATT_NAME_REGEX
-
Fields inherited from class org.fugerit.java.core.fixed.parser.FixedFileFieldBasicValidator
ATT_NAME_ID, ATT_NAME_LOCALE, ATT_NAME_REQUIRED, DEFAULT_BUNDLE_PATH, logger
-
Fields inherited from class org.fugerit.java.core.cfg.helpers.XMLConfigurableObject
DO_NOTHING
-
-
Constructor Summary
Constructors Constructor Description FixedFileFieldRegexValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FixedFileFieldValidationResult
checkField(String fieldLabel, String fieldValue, int rowNumber, int colNumber)
void
configure(Element tag)
Configure the object.String
getRegex()
-
Methods inherited from class org.fugerit.java.core.fixed.parser.FixedFileFieldBasicValidator
checkRequired, configure, defaultFormatMessage, getBundle, getId, isRequired, messageFormatWorker, newBundle, newBundle
-
Methods inherited from class org.fugerit.java.core.cfg.helpers.XMLConfigurableObject
configure, newXMLConfigurableObject
-
Methods inherited from class org.fugerit.java.core.cfg.helpers.AbstractConfigurableObject
configureProperties, configureXML, getLogger, setConfigProvider
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fugerit.java.core.cfg.ConfigurableObject
configure, configureProperties, configureXML
-
-
-
-
Field Detail
-
ATT_NAME_REGEX
public static final String ATT_NAME_REGEX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRegex
public String getRegex()
-
checkField
public FixedFileFieldValidationResult checkField(String fieldLabel, String fieldValue, int rowNumber, int colNumber)
- Specified by:
checkField
in interfaceFixedFileFieldValidator
- Specified by:
checkField
in classFixedFileFieldBasicValidator
-
configure
public void configure(Element tag) throws ConfigException
Description copied from interface:ConfigurableObject
Configure the object.
- Specified by:
configure
in interfaceConfigurableObject
- Specified by:
configure
in classFixedFileFieldBasicValidator
- Parameters:
tag
- The tag object to use for configuration.- Throws:
ConfigException
- If troubles arise during object configuration.
-
-