java.lang.Object
io.quarkus.qute.ValueResolvers.ModResolver
- All Implemented Interfaces:
Resolver,ValueResolver,WithPriority
- Enclosing class:
ValueResolvers
-
Field Summary
Fields inherited from interface io.quarkus.qute.WithPriority
DEFAULT_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanappliesTo(EvalContext context) protected booleanappliesToName(String name) protected Objectprotected Objectprotected Objectprotected Objectresolve(EvalContext context) This method should return an instance ofif it's not possible to resolve the context.invalid reference
Results#NotFoundMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.qute.ValueResolver
getCachedResolver, getPriority, getSupportedMethods, getSupportedProperties
-
Constructor Details
-
ModResolver
public ModResolver()
-
-
Method Details
-
appliesToName
-
compute
-
compute
-
compute
-
compute
-
appliesTo
- Specified by:
appliesToin interfaceValueResolver- Parameters:
context-- Returns:
trueif this resolver applies to the given context
-
resolve
Description copied from interface:ResolverThis method should return an instance ofif it's not possible to resolve the context. Any other value is considered a valid result, includinginvalid reference
Results#NotFoundnull.
-