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 SummaryModifier and TypeMethodDescriptionvoidprocessPragma(String key, Object value) Deprecated.3.3default voidprocessPragma(JexlOptions opts, String key, Object value) Process one pragma.
- 
Method Details- 
processPragmaProcess one pragma.- Parameters:
- opts- the current evaluator options
- key- the key
- value- the value
- Since:
- 3.3
 
- 
processPragmaDeprecated.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 key
- value- the value
 
 
-