Class ParsedTemplate


  • public class ParsedTemplate
    extends Object
    Contains the end result of parsing a template, including the root component and information about the encountered component IDs, slots and fragments.
    • Constructor Detail

      • ParsedTemplate

        public ParsedTemplate​(String templateId,
                              com.vaadin.flow.component.Component rootComponent,
                              Map<String,​com.vaadin.flow.component.Component> idToComponent,
                              Map<String,​Slot> nameToSlot,
                              Map<String,​org.jsoup.nodes.Element> idToTemplateFragment)
    • Method Detail

      • getTemplateId

        public String getTemplateId()
      • getRootComponent

        public com.vaadin.flow.component.Component getRootComponent()
      • getComponentById

        public com.vaadin.flow.component.Component getComponentById​(String id)
      • getSlotByName

        public Slot getSlotByName​(String name)
      • getTemplateFragmentById

        public org.jsoup.nodes.Element getTemplateFragmentById​(String id)