Class BundleParser

java.lang.Object
com.vaadin.flow.component.polymertemplate.BundleParser

@Deprecated public final class BundleParser extends Object
Deprecated.
Use BundleLitParser to parse Lit template since polymer template is deprecated, we recommend you to use LitTemplate 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:
  • Method Details

    • 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 file
      source - source js to get template element from
      Returns:
      template element or {code null} if not found