Package org.geotools.jdbc
Class RegexpValidator
- Object
-
- RegexpValidator
-
- All Implemented Interfaces:
Serializable
,VirtualTableParameter.Validator
public class RegexpValidator extends Object implements VirtualTableParameter.Validator
A regular expression based validator- Author:
- Andrea Aime - OpenGeo
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegexpValidator(String pattern)
RegexpValidator(Pattern pattern)
-
-
-
Method Detail
-
validate
public void validate(String value) throws IllegalArgumentException
- Specified by:
validate
in interfaceVirtualTableParameter.Validator
- Throws:
IllegalArgumentException
-
getPattern
public Pattern getPattern()
-
-