Class LitTemplateParser.LitTemplateParserFactory

java.lang.Object
com.vaadin.flow.component.littemplate.LitTemplateParser.LitTemplateParserFactory
Enclosing interface:
LitTemplateParser

public static class LitTemplateParser.LitTemplateParserFactory extends Object
Lit template parser factory.

To be able to create a parser which can be provided as SPI use Instantiator to create the factory and then get a parser from it:

 
 Instantiator instantiator = ...;
 LitTemplateParserFactory factory = instantiator.getOrCreate(LitTemplateParserFactory.class);
 LitTemplateParser parser = factory.createParser();
 
 

Since:
Author:
Vaadin Ltd
See Also:
  • Constructor Details

    • LitTemplateParserFactory

      public LitTemplateParserFactory()
  • Method Details

    • createParser

      public LitTemplateParser createParser()
      Creates a Lit template parser instance.
      Returns:
      a lit template parser instance