We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.littemplate.
Class LitTemplateParser.TemplateData
- java.lang.Object
-
- com.vaadin.flow.component.littemplate.LitTemplateParser.TemplateData
-
Enclosing interface:
public static class LitTemplateParser.TemplateData extends Object
Wrapper for the parsing result.
The data contains path uri where the template is declared and its content as an
Element
instance.Since:
Author:
Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor Description TemplateData(String uri, org.jsoup.nodes.Element element)
-
Method Summary
All Methods Modifier and Type Method Description String
getModulePath()
Gets the uri where the template is declared.
org.jsoup.nodes.Element
getTemplateElement()
Gets the content of the template.
-
-
-
Constructor Detail
-
TemplateData
public TemplateData(String uri, org.jsoup.nodes.Element element)
-
-
Method Detail
-
getModulePath
public String getModulePath()
Gets the uri where the template is declared.
Returns:
template uri
-
getTemplateElement
public org.jsoup.nodes.Element getTemplateElement()
Gets the content of the template.
Returns:
the content of the template
-
-