com.ibm.as400.access
Class BidiConversionProperties

java.lang.Object
  |
  +--com.ibm.as400.access.BidiConversionProperties
All Implemented Interfaces:
java.io.Serializable

public class BidiConversionProperties
extends java.lang.Object
implements java.io.Serializable

The BidiConversionProperties class provides a set of properties that can be used to control the conversion of character set data.

See Also:
Serialized Form

Constructor Summary
BidiConversionProperties()
          Constructs a BidiConversionProperties object.
 
Method Summary
 int getBidiStringType()
          Gets the bidi string type.
 boolean isBidiImplicitReordering()
          Indicates the value of the bidi implicit LTR-RTL reordering property.
 boolean isBidiNumericOrderingRoundTrip()
          Indicates the value of the bidi numeric ordering round trip property.
 void setBidiImplicitReordering(boolean bidiImplicitReordering)
          Sets the bidi implicit LTR-RTL reordering property.
 void setBidiNumericOrderingRoundTrip(boolean bidiNumericOrderingRoundTrip)
          Sets the bidi numeric ordering round trip property.
 void setBidiStringType(int bidiStringType)
          Sets the bidi string type, as defined by the CDRA (Character Data Representataion Architecture).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BidiConversionProperties

public BidiConversionProperties()
Constructs a BidiConversionProperties object.

Method Detail

setBidiStringType

public void setBidiStringType(int bidiStringType)
Sets the bidi string type, as defined by the CDRA (Character Data Representataion Architecture). See BidiStringType for more information and valid values. This option is set to BidiStringType.DEFAULT by default.

Parameters:
bidiStringType - The bidi string type.

getBidiStringType

public int getBidiStringType()
Gets the bidi string type.

Returns:
The bidi string type.

setBidiImplicitReordering

public void setBidiImplicitReordering(boolean bidiImplicitReordering)
Sets the bidi implicit LTR-RTL reordering property. This property is true by default.

Parameters:
bidiImplicitReordering - true to use the bidi implicit reordering; false otherwise.

isBidiImplicitReordering

public boolean isBidiImplicitReordering()
Indicates the value of the bidi implicit LTR-RTL reordering property.

Returns:
true if the bidi implicit LTR-RTL reordering property is enabled; false otherwise.

setBidiNumericOrderingRoundTrip

public void setBidiNumericOrderingRoundTrip(boolean bidiNumericOrderingRoundTrip)
Sets the bidi numeric ordering round trip property. This property is false by default.


isBidiNumericOrderingRoundTrip

public boolean isBidiNumericOrderingRoundTrip()
Indicates the value of the bidi numeric ordering round trip property.

Returns:
true if the bidi numeric ordering round trip property is enabled; false otherwise.