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
ProducesWebComponentConfiguration
instances from eitherWebComponentExporter
classes or instances.- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebComponentConfigurationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Component>
WebComponentConfiguration<T>create(WebComponentExporter<T> exporter)
Creates aWebComponentConfiguration
for the providedWebComponentExporter
instances.
-
-
-
Method Detail
-
create
public <T extends Component> WebComponentConfiguration<T> create(WebComponentExporter<T> exporter)
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
-
-