All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.qute.runtime.PropertyNotFoundNoop Maven / Gradle / Ivy

There is a newer version: 3.17.0.CR1
Show newest version
package io.quarkus.qute.runtime;

import io.quarkus.qute.Expression;
import io.quarkus.qute.ResultMapper;
import io.quarkus.qute.Results;
import io.quarkus.qute.TemplateNode.Origin;

class PropertyNotFoundNoop implements ResultMapper {

    @Override
    public int getPriority() {
        return 10;
    }

    @Override
    public boolean appliesTo(Origin origin, Object result) {
        return Results.isNotFound(result);
    }

    @Override
    public String map(Object result, Expression expression) {
        return "";
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy