We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.
Class WebComponentExporter.WebComponentConfigurationFactory
- java.lang.Object
-
- com.vaadin.flow.component.WebComponentExporter.WebComponentConfigurationFactory
-
All Implemented Interfaces:
Enclosing class:
WebComponentExporter<C extends Component>
public static final class WebComponentExporter.WebComponentConfigurationFactory extends Object implements Serializable
Produces
WebComponentConfiguration
instances from eitherWebComponentExporter
classes or instances.Author:
Vaadin Ltd
See Also:
-
-
Constructor Summary
Constructors Constructor Description WebComponentConfigurationFactory()
-
Method Summary
All Methods Modifier and Type Method Description <T extends Component>
WebComponentConfiguration<T>create(WebComponentExporter<T> exporter)
Creates a
WebComponentConfiguration
for the providedWebComponentExporter
instances.
-
-
-
Method Detail
-
create
public <T extends Component> WebComponentConfiguration<T> create(WebComponentExporter<T> exporter)
Creates a
WebComponentConfiguration
for the providedWebComponentExporter
instances.Type Parameters:
T
- type of the component to exportParameters:
exporter
- exporter instance, notnull
Returns:
a web component configuration matching the instance of received
exporter
Throws:
NullPointerException
- whenexporter
isnull
-
-