com.vaadin.flow.component.
Class WebComponentExporterFactory.DefaultWebComponentExporterFactory<C extends Component>
- java.lang.Object
 - 
- com.vaadin.flow.component.WebComponentExporterFactory.DefaultWebComponentExporterFactory<C>
 
 
- 
Type Parameters:
C- type of the component to exportAll Implemented Interfaces:
Enclosing interface:
WebComponentExporterFactory<C extends Component>
public static class WebComponentExporterFactory.DefaultWebComponentExporterFactory<C extends Component> extends Object implements WebComponentExporterFactory<C>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
Constructors Constructor and Description DefaultWebComponentExporterFactory(Class<? extends WebComponentExporter<C>> exporterClass)Creates a
WebComponentConfigurationfrom the providedWebComponentExporterclass. 
- 
Method Summary
All Methods Modifier and Type Method and Description WebComponentExporter<C>create()Creates a new
WebComponentExporterinstance and configures the tag name of the web component created based on this exporter. 
 - 
 
- 
- 
Constructor Detail
- 
DefaultWebComponentExporterFactory
public DefaultWebComponentExporterFactory(Class<? extends WebComponentExporter<C>> exporterClass)Creates a
WebComponentConfigurationfrom the providedWebComponentExporterclass.Parameters:
exporterClass- exporter class, notnullThrows:
NullPointerException- whenexporterClassisnull 
 - 
 
- 
Method Detail
- 
create
public WebComponentExporter<C> 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:
 
 - 
 
 -