|
HATS 7.5.1 Web API ReferencePublicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HsrBidiServices
The HsrBidiServices interface provides access to the bidirectional (BIDI) language properties in an HsrScreen object. An HsrBidiServices object is only necessary when using bidirectional code pages (420, 424, or 803) in 3270/5250 Sessions.
| Method Summary | |
|---|---|
char[] |
compressLamAlef(char[] buffer,
int length,
boolean isVisualLtr)
Compresses the lam and alef chars in a string. |
String |
convertLogicalToVisual(String inputString,
boolean isLTRImplicit,
boolean isLTRVisual)
Converts the Given String From Implicit To Visual Format and returns the Visual Format of the String |
String |
convertLogicalToVisual(String inputString,
boolean isLTRImplicit,
boolean isLTRVisual,
boolean compressLamAlef)
Converts the Given String From Implicit To Visual Format and returns the Visual Format of the String |
String |
convertVisualToLogical(String inputString,
boolean isLTRVisual,
boolean isLTRImplicit)
Converts the Given String From Visual To Implicit Format and returns the Implicit Format of the String |
String |
convertVisualToLogical(String inputBuffer,
boolean isLTRVisual,
boolean isLTRImplicit,
boolean swapchars)
Converts the Given String From Visual To Implicit Format and returns the Implicit Format of the String |
char[] |
expandLamAlef(char[] UniBuff,
int length,
boolean visualmode)
Expands Arabic character LamAlef into two Arabic characters Lam and Alef. |
String |
getArabicOrientation()
Return whether the Arabic orientation is left-to-right ("ltr") or right-to-left ("rtl") |
char |
getBidiTailAttribute()
Get tail of seen family |
boolean |
getRuntimeRtl()
Returns if the runtime screen orientation has been set to right-to-left. |
void |
handleFEData(char[] UniBuff)
Convert FE arabic data to 06 in order not to load BIDI classes in each file |
boolean |
isNumericSwap()
Returns the current value of Numeric Swapping. |
boolean |
isRTLScreen()
Returns true if screen orientation is RTL and false if not. |
boolean |
isSymmetricSwap()
Returns the current value of Directional Swapping. |
String |
removeMarkers(String inputString)
Removes BIDI markers such as LRM from a buffer |
String |
removeTail(String value)
Removes Bidi tail attribute from the given string |
void |
setArabicOrientation(String orientation)
Set the Arabic orientation either right-to-left ("rtl") or left-to-right ("ltr"). |
void |
setNumericSwap(boolean value)
Sets the Numeric Swapping value. |
void |
setRuntimeRtl(boolean value)
Sets the screen orientation true if right-to-left and false if not. |
void |
setSymmetricSwap(boolean value)
Sets the Symmetric Swapping value. |
String |
shapeLinuxArabicData(String inputString)
Shapes Linux Arabic data. |
String |
shapeLinuxArabicData(String inputString,
boolean dirText)
Shapes Linux Arabic data. |
| Method Detail |
|---|
String convertLogicalToVisual(String inputString,
boolean isLTRImplicit,
boolean isLTRVisual)
inputString - isLTRImplicit - isLTRVisual -
String convertLogicalToVisual(String inputString,
boolean isLTRImplicit,
boolean isLTRVisual,
boolean compressLamAlef)
inputString - isLTRImplicit - isLTRVisual - compressLamAlef - - for enabling or disabling LAM-ALEF compression
String convertVisualToLogical(String inputString,
boolean isLTRVisual,
boolean isLTRImplicit)
inputString - isLTRVisual - isLTRImplicit -
String convertVisualToLogical(String inputBuffer,
boolean isLTRVisual,
boolean isLTRImplicit,
boolean swapchars)
inputBuffer - isLTRVisual - isLTRImplicit - swapchars -
char[] expandLamAlef(char[] UniBuff,
int length,
boolean visualmode)
UniBuff - length - visualmode -
String getArabicOrientation()
char getBidiTailAttribute()
boolean getRuntimeRtl()
void handleFEData(char[] UniBuff)
UniBuff - boolean isNumericSwap()
boolean isRTLScreen()
boolean isSymmetricSwap()
String removeTail(String value)
value -
void setArabicOrientation(String orientation)
orientation - void setNumericSwap(boolean value)
value - void setRuntimeRtl(boolean value)
value - void setSymmetricSwap(boolean value)
value - String shapeLinuxArabicData(String inputString)
inputString -
String shapeLinuxArabicData(String inputString,
boolean dirText)
inputString - the string to be shaped.dirText - the value of the text direction attribute
char[] compressLamAlef(char[] buffer,
int length,
boolean isVisualLtr)
buffer - the string to compress lam alef in itlength - the length of the stringisVisualLtr - the orientation of the text
String removeMarkers(String inputString)
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||