com.xmlmind.fo.graphic
Class ConvertedGraphic

java.lang.Object
  extended by com.xmlmind.fo.graphic.ConvertedGraphic

public class ConvertedGraphic
extends Object

Cached converted graphic returned by GraphicEnv.getConvertedGraphic(com.xmlmind.fo.graphic.Graphic, java.lang.String[], double, double, java.lang.Object).

Important:This class should not be useful to third-party developers.


Field Summary
 Object clientData
          Client data stored in converted graphic convertedGraphic.
 Graphic convertedGraphic
          The converted graphic.
 Object convertedGraphicInfo
          Client data associated to this cache entry.
 String outputFormat
          The target format of the conversion.
 String sourceLocation
          The location of the graphic to be converted (the source graphic).
 double xScale
          Scaling factor to apply to the width of the source graphic.
 double yScale
          Scaling factor to apply to the height of the source graphic.
 
Constructor Summary
ConvertedGraphic(String sourceLocation, double xScale, double yScale, Object clientData, String outputFormat)
           
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceLocation

public final String sourceLocation
The location of the graphic to be converted (the source graphic).


xScale

public final double xScale
Scaling factor to apply to the width of the source graphic.


yScale

public final double yScale
Scaling factor to apply to the height of the source graphic.


clientData

public final Object clientData
Client data stored in converted graphic convertedGraphic.


outputFormat

public final String outputFormat
The target format of the conversion.


convertedGraphic

public Graphic convertedGraphic
The converted graphic.


convertedGraphicInfo

public Object convertedGraphicInfo
Client data associated to this cache entry.

Unless set by client code, this client data is null.

Constructor Detail

ConvertedGraphic

public ConvertedGraphic(String sourceLocation,
                        double xScale,
                        double yScale,
                        Object clientData,
                        String outputFormat)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object