Package com.networknt.schema.regex
Interface RegularExpression
-
- All Known Implementing Classes:
JDKRegularExpression
,JoniRegularExpression
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface RegularExpression
Regular expression.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static RegularExpression
compile(java.lang.String regex, ValidationContext validationContext)
boolean
matches(java.lang.String value)
-
-
-
Method Detail
-
matches
boolean matches(java.lang.String value)
-
compile
static RegularExpression compile(java.lang.String regex, ValidationContext validationContext)
-
-