Package org.apache.commons.jexl3
Interface JexlContext.PragmaProcessor
- Enclosing interface:
- JexlContext
public static interface JexlContext.PragmaProcessor
A marker interface of the JexlContext that processes pragmas.
It is called by the engine before interpreter creation; as a marker of
JexlContext, it is expected to have access and interact with the context
instance.
- Since:
- 3.2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processPragma
(String key, Object value) Deprecated.3.3default void
processPragma
(JexlOptions opts, String key, Object value) Process one pragma.
-
Method Details
-
processPragma
Process one pragma.- Parameters:
opts
- the current evaluator optionskey
- the keyvalue
- the value- Since:
- 3.3
-
processPragma
Deprecated.3.3Process one pragma.Never called in 3.3, must be implemented for 3.2 binary compatibility reasons.
Typical implementation in 3.3:
@Override public void processPragma(String key, Object value) { processPragma(null, key, value); }
- Parameters:
key
- the keyvalue
- the value
-