com.ibm.as400.access
Interface BidiStringType


public interface BidiStringType

The BidiStringType class is a collection of constants generally used for describing the output string type of bidi (bi-directional text) data as defined by the CDRA (Character Data Representation Architecture).

Each CCSID has a default CDRA string type, which defines a set of Bidi flags. When using these constants while performing conversions on bidi strings, the parameter string type should always be either ST5 (LTR), ST6 (RTL), ST10 (Contextual LTR), or ST11 (Contextual RTL). Note that "LTR" means left-to-right, and "RTL" means right-to-left.

In fact, only the orientation of the given string type is used to modify the Bidi flags to apply to the Java data. The other Bidi flags of the Java data always conform to the Unicode standard.


Field Summary
Modifier and Type Field and Description
static int DEFAULT
          The default string type for non bidi data (LTR).
static int NONE
          String type used when an EBCDIC/Unicode conversion is desired, but without swapping, shaping, or transformation.
static int ST10
          String Type 10 Type of text: Implicit Orientation: Contextual LTR Symetric swapping: Yes Numeral shape: Nominal Text shapes: Nominal
static int ST11
          String Type 11 Type of text: Implicit Orientation: Contextual RTL Symetric swapping: Yes Numeral shape: Nominal Text shapes: Nominal
static int ST4
          String Type 4 Type of text: Visual Orientation: LTR Symetric swapping: No Numeral shape: Nominal Text shapes: Shaped
static int ST5
          String Type 5 Type of text: Implicit Orientation: LTR Symetric swapping: Yes Numeral shape: Nominal Text shapes: Nominal
static int ST6
          String Type 6 Type of text: Implicit Orientation: RTL Symetric swapping: Yes Numeral shape: Nominal Text shapes: Nominal
static int ST7
          String Type 7 Type of text: Visual Orientation: Contextual LTR Symetric swapping: No Numeral shape: Nominal Text shapes: Nominal
static int ST8
          String Type 8 Type of text: Visual Orientation: RTL Symetric swapping: No Numeral shape: Nominal Text shapes: Shaped
static int ST9
          String Type 9 Type of text: Visual Orientation: RTL Symetric swapping: Yes Numeral shape: Nominal Text shapes: Shaped
 

Field Detail

DEFAULT

static final int DEFAULT
The default string type for non bidi data (LTR).

See Also:
Constant Field Values

NONE

static final int NONE
String type used when an EBCDIC/Unicode conversion is desired, but without swapping, shaping, or transformation.

See Also:
Constant Field Values

ST4

static final int ST4
String Type 4

See Also:
Constant Field Values

ST5

static final int ST5
String Type 5

See Also:
Constant Field Values

ST6

static final int ST6
String Type 6

See Also:
Constant Field Values

ST7

static final int ST7
String Type 7

See Also:
Constant Field Values

ST8

static final int ST8
String Type 8

See Also:
Constant Field Values

ST9

static final int ST9
String Type 9

See Also:
Constant Field Values

ST10

static final int ST10
String Type 10

See Also:
Constant Field Values

ST11

static final int ST11
String Type 11

See Also:
Constant Field Values