Class BundleParser
- java.lang.Object
-
- com.vaadin.flow.component.polymertemplate.BundleParser
-
@Deprecated public final class BundleParser extends Object
Deprecated.UseBundleLitParser
to parse Lit template since polymer template is deprecated, we recommend you to useLitTemplate
instead. Read more details from the Vaadin blog.Parse statistics data provided by webpack.For internal use only. May be renamed or removed in a future release.
- Since:
- 2.0
- Author:
- Vaadin Ltd
- See Also:
NpmTemplateParser
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static org.jsoup.nodes.Element
parseTemplateElement(String fileName, String source)
Deprecated.Get the Polymer template element for the given polymer template source.
-
-
-
Method Detail
-
parseTemplateElement
public static org.jsoup.nodes.Element parseTemplateElement(String fileName, String source)
Deprecated.Get the Polymer template element for the given polymer template source.- Parameters:
fileName
- name of the handled filesource
- source js to get template element from- Returns:
- template element or {code null} if not found
-
-