info.magnolia.imaging.operations.load
Class AbstractFromNode<PT>

java.lang.Object
  extended by info.magnolia.imaging.operations.load.AbstractLoader<ParameterProvider<PT>>
      extended by info.magnolia.imaging.operations.load.AbstractFromNode<PT>
Type Parameters:
PT - type of ParameterProvider's parameter
All Implemented Interfaces:
ImageOperation<ParameterProvider<PT>>
Direct Known Subclasses:
FromBinaryNode

public abstract class AbstractFromNode<PT>
extends AbstractLoader<ParameterProvider<PT>>

AbstractFromNode.


Constructor Summary
AbstractFromNode()
           
 
Method Summary
protected abstract  javax.jcr.Binary getBinaryFromNode(ParameterProvider<PT> param)
           
protected  BufferedImage loadSource(ParameterProvider<PT> param)
           
 
Methods inherited from class info.magnolia.imaging.operations.load.AbstractLoader
apply, doReadAndClose, getBackgroundColor, getImageDecoder, setBackgroundColor, setImageDecoder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFromNode

public AbstractFromNode()
Method Detail

loadSource

protected BufferedImage loadSource(ParameterProvider<PT> param)
                            throws ImagingException
Specified by:
loadSource in class AbstractLoader<ParameterProvider<PT>>
Throws:
ImagingException

getBinaryFromNode

protected abstract javax.jcr.Binary getBinaryFromNode(ParameterProvider<PT> param)
                                               throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.