public class ResourceMetacardTransformer extends Object implements MetacardTransformer
| Constructor and Description |
|---|
ResourceMetacardTransformer(CatalogFramework framework)
Construct instance with required framework to resolve the resource
|
| Modifier and Type | Method and Description |
|---|---|
BinaryContent |
transform(Metacard metacard,
Map<String,Serializable> arguments)
Transforms the provided
Metacard into a BinaryContent |
public ResourceMetacardTransformer(CatalogFramework framework)
framework - public BinaryContent transform(Metacard metacard, Map<String,Serializable> arguments) throws CatalogTransformerException
MetacardTransformerMetacard into a BinaryContenttransform in interface MetacardTransformermetacard - 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.