Interface LitTemplateParser
-
- All Known Implementing Classes:
LitTemplateParserImpl
- 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 LitTemplateParser
Lit 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:
- Author:
- Vaadin Ltd
- See Also:
LitTemplateParserImpl
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLitTemplateParser.LitTemplateParserFactoryLit template parser factory.static classLitTemplateParser.TemplateDataWrapper for the parsing result.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LitTemplateParser.TemplateDatagetTemplateContent(Class<? extends LitTemplate> clazz, String tag, VaadinService service)Gets the template data which contains a JSOUPElementrepresenting the template content and the template uri.
-
-
-
Method Detail
-
getTemplateContent
LitTemplateParser.TemplateData getTemplateContent(Class<? extends LitTemplate> clazz, String tag, VaadinService service)
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, may be
null
-
-