public class PolymerPublishedEventRpcHandler extends Object implements DeprecatedPolymerPublishedEventHandler
PolymerPublishedEventRpcHandler as a service to make it
available in Lookup in an OSGi container. *| Constructor and Description |
|---|
PolymerPublishedEventRpcHandler() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getTemplateItem(Component template,
elemental.json.JsonObject argValue,
Type convertedType)
Get the template model object and type.
|
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 boolean isTemplateModelValue(Component instance, elemental.json.JsonValue argValue, Class<?> convertedType)
isTemplateModelValue in interface DeprecatedPolymerPublishedEventHandlerinstance - Component to be validatedargValue - received valueconvertedType - target type that value should be converted topublic Object getTemplateItem(Component template, elemental.json.JsonObject argValue, Type convertedType)
getTemplateItem in interface DeprecatedPolymerPublishedEventHandlertemplate - polymer template to get model fromargValue - argument valueconvertedType - value typeIllegalStateException - if the component is not attached to the UICopyright © 2021. All rights reserved.