com.dynalivery.harmoni
Class RTFFormatOptions
java.lang.Object
|
+--com.dynalivery.harmoni.FormatOptions
|
+--com.dynalivery.harmoni.RTFFormatOptions
- public class RTFFormatOptions
- extends FormatOptions
- implements java.io.Serializable
- 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. |
|
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 java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
ABSOLUTE
public static final int ABSOLUTE
- Type identifier for creating an RTFAbsoluteSerializer.
SIZE_REDUCER
public static final int SIZE_REDUCER
- Type identifier for creating an RTFSizeReduceSerializer.
RTFFormatOptions
public RTFFormatOptions()
throws InvalidParameterException
- Creates new RTFFormatOptions
RTFFormatOptions
public RTFFormatOptions(int serializerType)
throws InvalidParameterException
- Creates new RTFFormatOptions
setSerializerType
public void setSerializerType(int serializerType)
throws InvalidParameterException
- setSerializerType
- Parameters:
serializerType - Indicates the type of the Serializer to be used.
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
- Overrides:
- getXML in class FormatOptions
- Tags copied from class: FormatOptions
- Returns:
- an XML String representation of the format options, if any
- 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.