public class FreemarkerConverter extends ConverterHelper
| Constructor and Description |
|---|
FreemarkerConverter() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Class<?>> |
getObjectClasses(Variant source) |
java.util.List<VariantInfo> |
getVariants(java.lang.Class<?> source) |
float |
score(java.lang.Object source,
Variant target,
Resource resource) |
<T> float |
score(Representation source,
java.lang.Class<T> target,
Resource resource) |
<T> T |
toObject(Representation source,
java.lang.Class<T> target,
Resource resource) |
Representation |
toRepresentation(java.lang.Object source,
Variant target,
Resource resource) |
addObjectClass, addVariant, addVariants, getVariants, updatePreferences, updatePreferencespublic java.util.List<java.lang.Class<?>> getObjectClasses(Variant source)
getObjectClasses in class ConverterHelperpublic java.util.List<VariantInfo> getVariants(java.lang.Class<?> source)
getVariants in class ConverterHelperpublic float score(java.lang.Object source,
Variant target,
Resource resource)
score in class ConverterHelperpublic <T> float score(Representation source, java.lang.Class<T> target, Resource resource)
score in class ConverterHelperpublic <T> T toObject(Representation source, java.lang.Class<T> target, Resource resource) throws java.io.IOException
toObject in class ConverterHelperjava.io.IOExceptionpublic Representation toRepresentation(java.lang.Object source, Variant target, Resource resource) throws java.io.IOException
toRepresentation in class ConverterHelperjava.io.IOExceptionCopyright © 2005-2024 Restlet.