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.internal.
Class CustomElementNameValidator
- java.lang.Object
-
- com.vaadin.flow.internal.CustomElementNameValidator
-
public final class CustomElementNameValidator extends Object
Class for validating custom-element name according to definition in Custom element name
-
-
Constructor Summary
Constructors Constructor and Description CustomElementNameValidator()
-
Method Summary
All Methods Modifier and Type Method and Description static boolean
isCustomElementName(String name)
Validate that given name is a valid Custom Element name.
-
-
-
Method Detail
-
isCustomElementName
public static boolean isCustomElementName(String name)
Validate that given name is a valid Custom Element name.
Parameters:
name
- Name to validateReturns:
Result containing possible validation error and/or warning
-
-