|
xmlgraphics-commons 1.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlgraphics.image.loader.pipeline.ImageConversionEdge
public class ImageConversionEdge
Represents an image conversion. The class basically wraps an ImageConverter so it can be used with Dijkstra's shortest route algorithm to build image conversion pipelines.
Constructor Summary | |
---|---|
ImageConversionEdge(ImageConverter converter)
Main constructor. |
Method Summary | |
---|---|
Vertex |
getEnd()
Returns the end vertex of the edge. |
ImageConverter |
getImageConverter()
Returns the wrapped ImageConverter. |
int |
getPenalty()
Returns the penalty (or distance) for this edge. |
Vertex |
getStart()
Returns the start vertex of the edge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageConversionEdge(ImageConverter converter)
converter
- the image converterMethod Detail |
---|
public ImageConverter getImageConverter()
public int getPenalty()
getPenalty
in interface Edge
public Vertex getStart()
getStart
in interface Edge
public Vertex getEnd()
getEnd
in interface Edge
|
xmlgraphics-commons 1.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |