Package io.quarkus.qute
Interface ResolutionContext
public interface ResolutionContext
-
Method Summary
Modifier and TypeMethodDescriptioncreateChild(Object data, Map<String, SectionBlock> extendingBlocks) Create a child resolution context.evaluate(Expression expression) Evaluate the expression.Parse and evaluate the expression.getAttribute(String key) getData()getExtendingBlock(String name)
-
Method Details
-
evaluate
Parse and evaluate the expression.- Parameters:
expression-- Returns:
- the result
-
evaluate
Evaluate the expression.- Parameters:
expression-- Returns:
- the result
-
createChild
Create a child resolution context.- Parameters:
data-extendingBlocks-- Returns:
- a new child resolution context
-
getData
Object getData()- Returns:
- the data
-
getParent
ResolutionContext getParent()- Returns:
- the parent context or null
-
getExtendingBlock
- Parameters:
name-- Returns:
- the extending block for the specified name or null
-
getAttribute
- Parameters:
key-- Returns:
- the attribute or null
- See Also:
-
getEvaluator
Evaluator getEvaluator()- Returns:
- the evaluator
-