Class TemplateInstanceBase.DataMap

java.lang.Object
io.quarkus.qute.TemplateInstanceBase.DataMap
All Implemented Interfaces:
Mapper
Enclosing class:
TemplateInstanceBase

public static class TemplateInstanceBase.DataMap extends Object implements Mapper
  • Constructor Details

    • DataMap

      public DataMap()
  • Method Details

    • get

      public Object get(String key)
      Specified by:
      get in interface Mapper
    • appliesTo

      public boolean appliesTo(String key)
      Specified by:
      appliesTo in interface Mapper
      Returns:
      true if the mapper should be applied to the specified key
    • mappedKeys

      public Set<String> mappedKeys()
      Description copied from interface: Mapper
      The returned set may be a subset of the final set of all mapped keys.
      Specified by:
      mappedKeys in interface Mapper
      Returns:
      the set of known mapped keys
    • forEachData

      public void forEachData(BiConsumer<String,Object> action)
    • forEachComputedData

      public void forEachComputedData(BiConsumer<String,Function<String,Object>> action)