com.dynalivery.saffron.client
Class PrintFormatOptions

java.lang.Object
  extended bycom.dynalivery.saffron.client.FormatOptions
      extended bycom.dynalivery.saffron.client.PrintFormatOptions
All Implemented Interfaces:
java.io.Serializable

public class PrintFormatOptions
extends FormatOptions
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.dynalivery.saffron.client.FormatOptions
fileType
 
Constructor Summary
PrintFormatOptions()
          Creates a new instance of PrintFormatOptions
PrintFormatOptions(java.lang.String printerName)
          Creates a new instance of PrintFormatOptions
 
Method Summary
 java.lang.String getPrinterName()
           
 byte[] getXML()
          Returns an XML String representation of the format options, if any
 void setPrinterName(java.lang.String printerName)
           
 java.lang.String toString()
          Creates display string for format options.
 
Methods inherited from class com.dynalivery.saffron.client.FormatOptions
getFileType, setFileType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrintFormatOptions

public PrintFormatOptions()
                   throws InvalidParameterException
Creates a new instance of PrintFormatOptions


PrintFormatOptions

public PrintFormatOptions(java.lang.String printerName)
                   throws InvalidParameterException
Creates a new instance of PrintFormatOptions

Method Detail

getPrinterName

public java.lang.String getPrinterName()

setPrinterName

public void setPrinterName(java.lang.String printerName)

getXML

public byte[] getXML()
              throws InvalidParameterException
Description copied from class: FormatOptions
Returns an XML String representation of the format options, if any

Specified by:
getXML in class FormatOptions
Returns:
an XML String representation of the format options, if any
Throws:
InvalidParameterException

toString

public java.lang.String toString()
Description copied from class: FormatOptions
Creates display string for format options. Must be overridden in subclasses.

Overrides:
toString in class FormatOptions
Returns:
display string for format options. Must be overridden in subclasses.