public interface Exportable
Modifier and Type | Method and Description |
---|---|
boolean |
isSupported(java.lang.Class<?> target)
Check if this instance supports the specified target class type
|
java.lang.Object |
toObjectOf(java.lang.Class<?> target,
ExportFilters filters)
Export to the specified target class type
|
boolean isSupported(java.lang.Class<?> target)
target
- the target classjava.lang.Object toObjectOf(java.lang.Class<?> target, ExportFilters filters) throws FormatNotSupportedException
target
- the target classfilters
- Allows ExportMarshal
instances to filter e.g. based
on geographic region or other criteriaFormatNotSupportedException
- if there is an issue creating the object.