Class TemplateDataAnalyzer.PolymerParserData

java.lang.Object
com.vaadin.flow.component.template.internal.ParserData
com.vaadin.flow.component.polymertemplate.TemplateDataAnalyzer.PolymerParserData
Enclosing class:
TemplateDataAnalyzer

@Deprecated public static class TemplateDataAnalyzer.PolymerParserData extends com.vaadin.flow.component.template.internal.ParserData
Deprecated.
Immutable parser data which may be stored in cache. Use ParserData instead.
  • Constructor Details

    • PolymerParserData

      public PolymerParserData(Map<Field,String> fields, Map<String,String> tags, Map<String,Map<String,String>> attributes, Set<String> twoWayBindings, Collection<com.vaadin.flow.component.polymertemplate.TemplateDataAnalyzer.SubTemplateData> subTemplates)
      Deprecated.
      Constructs an immutable data object with the given information.
      Parameters:
      fields - a map of fields to their ids
      tags - a map of ids to their tags
      attributes - a map of attributes values to the element id
      twoWayBindings - the properties which support two way binding
      subTemplates - data for sub templates
  • Method Details

    • forEachInjectedField

      public void forEachInjectedField(TemplateDataAnalyzer.InjectableFieldCunsumer consumer)
      Deprecated.
      Applies the given consumer to each mapped field.
      Parameters:
      consumer - the consumer to call for each mapped field