com.vaadin.flow.component.
Class WebComponentExporterFactory.DefaultWebComponentExporterFactory<C extends Component>
Type Parameters:
C - type of the component to export
All Implemented Interfaces:
Enclosing interface:
WebComponentExporterFactory<C extends Component>
Default factory implementation which uses an exporter class to instantiate it using its default constructor.
Author:
Vaadin Ltd
See Also:
- 
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.flow.component.WebComponentExporterFactory
WebComponentExporterFactory.DefaultWebComponentExporterFactory<C extends Component> - 
Constructor Summary
ConstructorsConstructorDescriptionDefaultWebComponentExporterFactory(Class<? extends WebComponentExporter<C>> exporterClass) Creates a
WebComponentConfigurationfrom the providedWebComponentExporterclass. - 
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates a new
WebComponentExporterinstance and configures the tag name of the web component created based on this exporter. 
- 
Constructor Details
- 
DefaultWebComponentExporterFactory
Creates a
WebComponentConfigurationfrom the providedWebComponentExporterclass.Parameters:
exporterClass- exporter class, notnullThrows:
NullPointerException- whenexporterClassisnull 
 - 
 - 
Method Details
- 
create
Description copied from interface:
WebComponentExporterFactoryCreates a new
WebComponentExporterinstance and configures the tag name of the web component created based on this exporter.Specified by:
createin interfaceWebComponentExporterFactory<C extends Component>Returns:
an exporter instance
See Also:
 
 -