Interface DeprecatedPolymerPublishedEventHandler
- All Superinterfaces:
Serializable
Deprecated.
Service for injecting the polymer event handler when the module is available.
For internal use only. May be renamed or removed in a future release.
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptiongetTemplateItem(Component template, tools.jackson.databind.JsonNode argValue, Type convertedType) Deprecated.Get the template model object and type.booleanisTemplateModelValue(Component instance, tools.jackson.databind.JsonNode argValue, Class<?> convertedType) Deprecated.Validate that the given Component instance is a PolymerTemplate and that the value can be converted.
-
Method Details
-
isTemplateModelValue
boolean isTemplateModelValue(Component instance, tools.jackson.databind.JsonNode argValue, Class<?> convertedType) Deprecated.Validate that the given Component instance is a PolymerTemplate and that the value can be converted.- Parameters:
instance- Component to be validatedargValue- received valueconvertedType- target type that value should be converted to- Returns:
- true if valid template model value
-
getTemplateItem
Object getTemplateItem(Component template, tools.jackson.databind.JsonNode argValue, Type convertedType) Deprecated.Get the template model object and type.- Parameters:
template- polymer template to get model fromargValue- argument valueconvertedType- value type- Returns:
- the provided model value
- Throws:
IllegalStateException- if the component is not attached to the UI
-
LitTemplateinstead. Read more details from the Vaadin blog.