D
- the decoded typeE
- the encoded type@Id
mapping and
the component API or the element API with property
synchronization instead. Polymer template support is deprecated -
we recommend you to use LitTemplate
instead. Read more
details from the
Vaadin blog.@Deprecated public interface ModelEncoder<D,E extends Serializable> extends Serializable
Encode
Modifier and Type | Method and Description |
---|---|
D |
decode(E value)
Deprecated.
Decodes the given value.
|
E |
encode(D value)
Deprecated.
Encodes the given value.
|
default Class<D> |
getDecodedType()
Deprecated.
Get the decoded type of this encoder.
|
default Class<E> |
getEncodedType()
Deprecated.
Get the encoded type of this encoder.
|
default Class<D> getDecodedType()
default Class<E> getEncodedType()
E encode(D value)
value
- the value to encodeCopyright © 2021. All rights reserved.