Package com.networknt.schema.regex
Class GraalJSRegularExpressionContext
- java.lang.Object
-
- com.networknt.schema.regex.GraalJSRegularExpressionContext
-
public class GraalJSRegularExpressionContext extends Object
GraalJSRegularExpressionContext.
-
-
Constructor Summary
Constructors Constructor Description GraalJSRegularExpressionContext(org.graalvm.polyglot.Context context)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.graalvm.polyglot.Context
getContext()
Operations must synchronize on theContext
as only a single thread can access theContext
andgetRegExpBuilder()
at one time.org.graalvm.polyglot.Value
getRegExpBuilder()
Gets the RegExp builder.
-
-
-
Method Detail
-
getContext
public org.graalvm.polyglot.Context getContext()
Operations must synchronize on theContext
as only a single thread can access theContext
andgetRegExpBuilder()
at one time.- Returns:
- the context
-
getRegExpBuilder
public org.graalvm.polyglot.Value getRegExpBuilder()
Gets the RegExp builder.- Returns:
- the regexp builder
-
-