@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
The ModelEncoder class to use for encoding the property found through
{
path(). |
public abstract Class<? extends ModelEncoder<?,?>> value
path().public abstract String path
Copyright © 2025. All rights reserved.