LitTemplate instead. Read more
details from the
Vaadin blog.@Deprecated @Retention(value=RUNTIME) @Target(value=METHOD) @Repeatable(value=Encode.Container.class) public @interface Encode
path().
Use this annotation on setters in your TemplateModel class to perform
type conversions on properties.
ModelEncoder| Modifier and Type | Required Element and Description |
|---|---|
Class<? extends ModelEncoder<?,?>> |
value
Deprecated.
The ModelEncoder class to use for encoding the property found through
{
path(). |
public abstract Class<? extends ModelEncoder<?,?>> value
path().public abstract String path
Copyright © 2021. All rights reserved.