Interface MetacardTransformer


public interface MetacardTransformer
The MetacardTransfomer is used to transform a Metacard to a provided BinaryContent. The purpose of a MetacardTransformer is to change the format of the Metacard. For example if the Metacard content is in an XML format, then a MetacardTransformer implementation can be used to transform the Metacard content into an HTML format.

Implementations of this interface must:

  • Register with the OSGi Service Registry using the MetacardTransformer interface.
  • Include a Service property with name "id" (Constants.SERVICE_ID) and a String value uniquely identifying the particular implementation