Package com.vaadin.flow.component
Class WebComponentExporter.WebComponentConfigurationFactory
java.lang.Object
com.vaadin.flow.component.WebComponentExporter.WebComponentConfigurationFactory
- All Implemented Interfaces:
Serializable
- Enclosing class:
- WebComponentExporter<C extends Component>
public static final class WebComponentExporter.WebComponentConfigurationFactory
extends Object
implements Serializable
Produces
WebComponentConfiguration
instances from either
WebComponentExporter
classes or instances.- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends Component>
WebComponentConfiguration<T>create
(WebComponentExporter<T> exporter) Creates aWebComponentConfiguration
for the providedWebComponentExporter
instances.
-
Constructor Details
-
WebComponentConfigurationFactory
public WebComponentConfigurationFactory()
-
-
Method Details
-
create
Creates aWebComponentConfiguration
for the providedWebComponentExporter
instances.- Type Parameters:
T
- type of the component to export- Parameters:
exporter
- exporter instance, notnull
- Returns:
- a web component configuration matching the instance of
received
exporter
- Throws:
NullPointerException
- whenexporter
isnull
-