|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.collation.platform.model.util.SegmentInfo
public class SegmentInfo
Constructor Summary | |
---|---|
SegmentInfo()
|
Method Summary | |
---|---|
java.lang.String |
getBIDI5CharFormat()
The function is used to determine the BIDI fromat in the foramt of 5 chars. |
int[] |
getCharTypeAr()
The function is used to get the array that contains the type of the character in the string saved in the class |
boolean |
getHasArabicNum()
The function is used to get if the strings that has arabic number |
boolean |
getHasenglishNum()
The function is used to get if the strings that has english number |
int |
getNumberType()
The function is used to get the numbers type arabic 0 , english 1 |
int |
getOrientation()
The function is used to return the orientation LTR or RTL. |
java.lang.String |
getString()
The function is used to get the string. |
int |
getType()
The function is used to return the type IMPLICIT or VISUAL. |
boolean |
isArabic()
The function is used to get the language if arabic. |
boolean |
isEnglish()
The function is used to get the language if arabic. |
boolean |
isShaped()
The function is used to get the type of shaping Shaped -> true , not Shaped ->flase |
int |
isSwappedOn()
The function is used to get the type of swapping swap on -> true, swap off ->flase |
void |
setCharType(int[] charTypeAr)
The function is used to store the type of each char . |
void |
setHasArabicNum(boolean has)
The function sets hasArabicNum. |
void |
setHasEnglishNum(boolean has)
The function sets hasEnglishNum. |
void |
setLang(boolean isArabic,
boolean isEnglish,
boolean isUnknowCodePage)
The function is used to set the language. |
void |
setNumberType(int numberType)
The function is used to set the numbers type arabic 0 , english 1 |
void |
setOrientation(int orientation)
The function is used to set the orientation LTR or RTL. |
void |
setShaped(boolean Shaped)
The function is used to set the type of shaping Shaped -> true , not Shaped ->flase |
void |
setString(java.lang.String text)
The function is used to set the string |
void |
setSwapped(int swap)
The function is used to set the type of swapping swap on -> true, swap off ->flase |
void |
setType(int type)
The function is used to set the type IMPLICIT or VISUAL. |
java.lang.String |
toString()
The function overrides the method of the toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SegmentInfo()
Method Detail |
---|
public void setString(java.lang.String text)
public void setCharType(int[] charTypeAr)
public int[] getCharTypeAr()
public java.lang.String getString()
public int getType()
public void setType(int type)
public int getOrientation()
public void setOrientation(int orientation)
public boolean isArabic()
public boolean isEnglish()
public void setHasArabicNum(boolean has)
public void setHasEnglishNum(boolean has)
public boolean getHasArabicNum()
public boolean getHasenglishNum()
public void setLang(boolean isArabic, boolean isEnglish, boolean isUnknowCodePage)
public int isSwappedOn()
public void setSwapped(int swap)
public boolean isShaped()
public void setShaped(boolean Shaped)
public void setNumberType(int numberType)
public int getNumberType()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getBIDI5CharFormat()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |