Interface TemplateParser
-
- All Known Implementing Classes:
NpmTemplateParser
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Deprecated @FunctionalInterface public interface TemplateParser
Deprecated.UseLitTemplateParserforLitTemplatecomponents. Polymer template support is deprecated - we recommend you to useLitTemplateinstead. Read more details from the Vaadin blog.Template content parser.It returns a JSOUP element representing the content of template for the given template class.
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
NpmTemplateParser
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTemplateParser.TemplateDataDeprecated.UseLitTemplateParser.TemplateDatainsteadstatic classTemplateParser.TemplateParserFactoryDeprecated.Template parser factory.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description TemplateParser.TemplateDatagetTemplateContent(Class<? extends PolymerTemplate<?>> clazz, String tag, VaadinService service)Deprecated.Gets the template data which contains a JSOUPElementrepresenting the template content and the template uri.
-
-
-
Method Detail
-
getTemplateContent
TemplateParser.TemplateData getTemplateContent(Class<? extends PolymerTemplate<?>> clazz, String tag, VaadinService service)
Deprecated.Gets the template data which contains a JSOUPElementrepresenting the template content and the template uri.- Parameters:
clazz- the template classtag- the template tag nameservice- the related Vaadin service- Returns:
- the template data
-
-