public class PreviewMetacardTransformer extends Object implements MetacardTransformer
Constructor and Description |
---|
PreviewMetacardTransformer() |
Modifier and Type | Method and Description |
---|---|
BinaryContent |
transform(Metacard metacard,
Map<String,Serializable> arguments)
Transforms the provided
Metacard into a BinaryContent |
public BinaryContent transform(Metacard metacard, Map<String,Serializable> arguments) throws CatalogTransformerException
MetacardTransformer
Metacard
into a BinaryContent
transform
in interface MetacardTransformer
metacard
- the Metacard
to be transformedarguments
- any arguments to be used in the transformation. Keys are specific to each
MetacardTransformer
implementationBinaryContent
the result of the Metacard
transformationCatalogTransformerException
- if the Metacard
can not be transformedThis work is licensed under a Creative Commons Attribution 4.0 International License.