com.vaadin.flow.component.polymertemplate.
Interface TemplateParser
-
All Known Implementing Classes:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface TemplateParser
Template content parser.
It returns a JSOUP element representing the content of template for the given template class.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface and Description static class
TemplateParser.TemplateData
Wrapper for the parsing result.
-
Method Summary
All Methods Modifier and Type Method and Description TemplateParser.TemplateData
getTemplateContent(Class<? extends PolymerTemplate<?>> clazz, String tag, VaadinService service)
Gets the template data which contains a JSOUP
Element
representing the template content and the template uri.
-
-
-
Method Detail
-
getTemplateContent
TemplateParser.TemplateData getTemplateContent(Class<? extends PolymerTemplate<?>> clazz, String tag, VaadinService service)
Gets the template data which contains a JSOUP
Element
representing the template content and the template uri.Parameters:
clazz
- the template classtag
- the template tag nameservice
- the related Vaadin serviceReturns:
the template data
-
-