info.magnolia.imaging.operations.load
Class AbstractFromContent<PT>
java.lang.Object
info.magnolia.imaging.operations.load.AbstractLoader<ParameterProvider<PT>>
info.magnolia.imaging.operations.load.AbstractFromContent<PT>
- Type Parameters:
PT
- type of ParameterProvider's parameter
- All Implemented Interfaces:
- ImageOperation<ParameterProvider<PT>>
- Direct Known Subclasses:
- FromContent, FromNodeData
Deprecated. since 5.0, use AbstractFromNode
instead.
@Deprecated
public abstract class AbstractFromContent<PT>
- extends AbstractLoader<ParameterProvider<PT>>
Superclass for ImageOperations loading from Content.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFromContent
public AbstractFromContent()
- Deprecated.
loadSource
protected BufferedImage loadSource(ParameterProvider<PT> param)
throws ImagingException
- Deprecated.
- Specified by:
loadSource
in class AbstractLoader<ParameterProvider<PT>>
- Throws:
ImagingException
getNodeData
protected abstract info.magnolia.cms.core.NodeData getNodeData(ParameterProvider<PT> param)
throws ImagingException
- Deprecated.
- Gets the appropriate NodeData instance based on the given ParameterProvider.
If possible, the implementation should throw exceptions early, for instance if
the NodeData can't be loaded.
- Throws:
ImagingException
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.