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