com.dynalivery.harmoni
Class RasterFormatOptions
java.lang.Object
|
+--com.dynalivery.harmoni.FormatOptions
|
+--com.dynalivery.harmoni.RasterFormatOptions
- public class RasterFormatOptions
- extends FormatOptions
- implements java.io.Serializable
- See Also:
- Serialized Form
|
Constructor Summary |
RasterFormatOptions()
Creates new RasterFormatOptions |
RasterFormatOptions(int imageType)
Creates new RasterFormatOptions
Supported image types are ImageType.JPG or ImageType.PNG |
|
Method Summary |
int |
getImageType()
Returns the image type used when generating Raster |
byte[] |
getXML()
Returns the XML String that represents these Raster formatting options |
void |
setImageType(int imageType)
Sets the image type to be used when generating Raster Images |
java.lang.String |
toString()
Creates display string for format options. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
RasterFormatOptions
public RasterFormatOptions(int imageType)
throws InvalidParameterException
- Creates new RasterFormatOptions
Supported image types are ImageType.JPG or ImageType.PNG
RasterFormatOptions
public RasterFormatOptions()
throws InvalidParameterException
- Creates new RasterFormatOptions
setImageType
public void setImageType(int imageType)
throws InvalidParameterException
- Sets the image type to be used when generating Raster Images
- Parameters:
imageType - the integer image type (e.g. ImageType.JPG or ImageType.PNG)- Throws:
- com.dynalivery.saffron.client.exception.InvalidParameterException -
getImageType
public int getImageType()
- Returns the image type used when generating Raster
- Returns:
- the integer image type (e.g. ImageType.JPG or ImageType.PNG)
getXML
public byte[] getXML()
throws InvalidParameterException
- Returns the XML String that represents these Raster formatting options
- Overrides:
- getXML in class FormatOptions
- Returns:
- the XML String that represents these Raster formatting options
- Throws:
- com.dynalivery.saffron.client.exception.InvalidParameterException -
toString
public java.lang.String toString()
- Creates display string for format options.
- Overrides:
- toString in class FormatOptions
- Tags copied from class: FormatOptions
- Returns:
- display string for format options. Must be overridden in subclasses.