Package com.networknt.schema.regex
Class JDKRegularExpressionFactory
java.lang.Object
com.networknt.schema.regex.JDKRegularExpressionFactory
- All Implemented Interfaces:
RegularExpressionFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JDKRegularExpressionFactorygetRegularExpression(String regex) Gets aRegularExpression.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.networknt.schema.regex.RegularExpressionFactory
getRegularExpression
-
Constructor Details
-
JDKRegularExpressionFactory
public JDKRegularExpressionFactory()
-
-
Method Details
-
getInstance
-
getRegularExpression
Description copied from interface:RegularExpressionFactoryGets aRegularExpression.- Specified by:
getRegularExpressionin interfaceRegularExpressionFactory- Parameters:
regex- the regular expression text value- Returns:
- the regular expression
-