public class PolymerPublishedEventRpcHandler extends Object implements DeprecatedPolymerPublishedEventHandler
PolymerPublishedEventRpcHandler
as a service to make it
available in Lookup
in an OSGi container.
For internal use only. May be renamed or removed in a future release.
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 DeprecatedPolymerPublishedEventHandler
instance
- 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 DeprecatedPolymerPublishedEventHandler
template
- polymer template to get model fromargValue
- argument valueconvertedType
- value typeIllegalStateException
- if the component is not attached to the UICopyright © 2021. All rights reserved.