Class LitTemplateParser.LitTemplateParserFactory
java.lang.Object
com.vaadin.flow.component.littemplate.LitTemplateParser.LitTemplateParserFactory
- Enclosing interface:
- LitTemplateParser
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a Lit template parser instance.
-
Constructor Details
-
LitTemplateParserFactory
public LitTemplateParserFactory()
-
-
Method Details
-
createParser
Creates a Lit template parser instance.- Returns:
- a lit template parser instance
-