public class PublishedEventRpcHandlerUtil extends Object implements Serializable
| Constructor and Description |
|---|
PublishedEventRpcHandlerUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
getTemplateItem(Component template,
elemental.json.JsonObject argValue,
Type convertedType)
Get the template model object and type.
|
static boolean |
isTemplateModelValue(Component instance,
elemental.json.JsonValue argValue,
Class<?> convertedType)
Validate that the given Component instance is a PolymerTemplate and that
the value can be converted.
|
public static boolean isTemplateModelValue(Component instance, elemental.json.JsonValue argValue, Class<?> convertedType)
instance - Component to be validatedargValue - received valueconvertedType - target type that value should be converted topublic static Object getTemplateItem(Component template, elemental.json.JsonObject argValue, Type convertedType)
template - polymer template to get model fromargValue - argument valueconvertedType - value typeIllegalStateException - if the component is not attached to the UICopyright © 2000–2020 Vaadin Ltd. All rights reserved.