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.
Package 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 either
WebComponentExporter
classes or instances.
Author:
Vaadin Ltd
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Component>
WebComponentConfiguration<T>create
(WebComponentExporter<T> exporter) Creates a
WebComponentConfiguration
for the providedWebComponentExporter
instances.
-
Constructor Details
-
WebComponentConfigurationFactory
public WebComponentConfigurationFactory()
-
-
Method Details
-
create
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
-