com.dynalivery.saffron.client
Class RTFFormatOptions

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

public class RTFFormatOptions
extends FormatOptions
implements java.io.Serializable

There currently are no RTF format options.

See Also:
Serialized Form

Field Summary
static int ABSOLUTE
          Type identifier for creating an RTFAbsoluteSerializer.
static int SIZE_REDUCER
          Type identifier for creating an RTFSizeReduceSerializer.
 
Fields inherited from class com.dynalivery.saffron.client.FormatOptions
fileType
 
Constructor Summary
RTFFormatOptions()
          Creates new RTFFormatOptions
RTFFormatOptions(int serializerType)
          Creates new RTFFormatOptions
 
Method Summary
 java.lang.String getSerializerType()
          getSerializerType
 byte[] getXML()
          Returns the an XML String representation of the format options, if any
 void setSerializerType(int serializerType)
          setSerializerType
 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
 

Field Detail

ABSOLUTE

public static final int ABSOLUTE
Type identifier for creating an RTFAbsoluteSerializer.

See Also:
Constant Field Values

SIZE_REDUCER

public static final int SIZE_REDUCER
Type identifier for creating an RTFSizeReduceSerializer.

See Also:
Constant Field Values
Constructor Detail

RTFFormatOptions

public RTFFormatOptions()
                 throws InvalidParameterException
Creates new RTFFormatOptions


RTFFormatOptions

public RTFFormatOptions(int serializerType)
                 throws InvalidParameterException
Creates new RTFFormatOptions

Method Detail

setSerializerType

public void setSerializerType(int serializerType)
                       throws InvalidParameterException
setSerializerType

Parameters:
serializerType - Indicates the type of the Serializer to be used.
Throws:
InvalidParameterException

getSerializerType

public java.lang.String getSerializerType()
getSerializerType

Returns:
If AbsolutePositioning is being used

getXML

public byte[] getXML()
Returns the 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

toString

public java.lang.String toString()
Creates display string for format options.

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