public class ContentTransformerHandler
extends java.lang.Object
ContentTransformer
available
for a specific ContentTransformerContentType
. There can be more than
one content transformer available for a particular content type, and they
will all be executed, but the order is not guaranteed.Constructor and Description |
---|
ContentTransformerHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.osgi.framework.BundleContext bundleContext) |
protected void |
deactivate() |
protected void |
setServiceTrackerMap(com.liferay.osgi.service.tracker.collections.map.ServiceTrackerMap<ContentTransformerContentType,java.util.List<ContentTransformer>> serviceTrackerMap) |
<T> T |
transform(ContentTransformerContentType<T> contentTransformerContentType,
T originalContent) |
public <T> T transform(ContentTransformerContentType<T> contentTransformerContentType, T originalContent)
protected void activate(org.osgi.framework.BundleContext bundleContext)
protected void deactivate()
protected final void setServiceTrackerMap(com.liferay.osgi.service.tracker.collections.map.ServiceTrackerMap<ContentTransformerContentType,java.util.List<ContentTransformer>> serviceTrackerMap)