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
ProducesWebComponentConfigurationinstances from eitherWebComponentExporterclasses 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 aWebComponentConfigurationfor the providedWebComponentExporterinstances.
-
-
-
Method Detail
-
create
public <T extends Component> WebComponentConfiguration<T> create(WebComponentExporter<T> exporter)
Creates aWebComponentConfigurationfor the providedWebComponentExporterinstances.- 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- whenexporterisnull
-
-