@Deprecated public class JibxConverter extends ConverterHelper
Constructor and Description |
---|
JibxConverter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<Class<?>> |
getObjectClasses(Variant source)
Deprecated.
|
List<VariantInfo> |
getVariants(Class<?> source)
Deprecated.
|
protected boolean |
isCompatible(MediaType mediaType)
Deprecated.
Indicates if the given mediaType is compatible with the media types
supported by this converter.
|
protected boolean |
isCompatible(Variant variant)
Deprecated.
Indicates if the given variant is compatible with the media types
supported by this converter.
|
float |
score(Object source,
Variant target,
Resource resource)
Deprecated.
|
<T> float |
score(Representation source,
Class<T> target,
Resource resource)
Deprecated.
|
<T> T |
toObject(Representation source,
Class<T> target,
Resource resource)
Deprecated.
|
Representation |
toRepresentation(Object source,
Variant target,
Resource resource)
Deprecated.
|
<T> void |
updatePreferences(List<Preference<MediaType>> preferences,
Class<T> entity)
Deprecated.
|
addObjectClass, addVariant, addVariants, getVariants, updatePreferences
public List<Class<?>> getObjectClasses(Variant source)
getObjectClasses
in class ConverterHelper
public List<VariantInfo> getVariants(Class<?> source)
getVariants
in class ConverterHelper
protected boolean isCompatible(MediaType mediaType)
mediaType
- The mediaType.protected boolean isCompatible(Variant variant)
variant
- The variant.public float score(Object source, Variant target, Resource resource)
score
in class ConverterHelper
public <T> float score(Representation source, Class<T> target, Resource resource)
score
in class ConverterHelper
public <T> T toObject(Representation source, Class<T> target, Resource resource) throws IOException
toObject
in class ConverterHelper
IOException
public Representation toRepresentation(Object source, Variant target, Resource resource)
toRepresentation
in class ConverterHelper
public <T> void updatePreferences(List<Preference<MediaType>> preferences, Class<T> entity)
updatePreferences
in class ConverterHelper
Copyright © 2005-2014 Restlet.