|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.complexscripts.bidi.UnicodeBidiAlgorithm
public final class UnicodeBidiAlgorithm
The UnicodeBidiAlgorithm class implements functionality prescribed by
the Unicode Bidirectional Algorithm, Unicode Standard Annex #9.
This work was originally authored by Glenn Adams (gadams@apache.org).
| Field Summary |
|---|
| Fields inherited from interface org.apache.fop.complexscripts.bidi.BidiConstants |
|---|
AL, AN, B, BN, CS, EN, ES, ET, FIRST, L, LAST, LRE, LRO, MAX_LEVELS, NSM, ON, OVERRIDE, PDF, R, RLE, RLO, S, SURROGATE, WS |
| Method Summary | |
|---|---|
static int[] |
resolveLevels(java.lang.CharSequence cs,
Direction defaultLevel)
Resolve the directionality levels of each character in a character seqeunce. |
static int[] |
resolveLevels(int[] chars,
int[] classes,
int defaultLevel,
int[] levels,
boolean useRuleL1)
Resolve the directionality levels of each character in a character seqeunce. |
static int[] |
resolveLevels(int[] chars,
int defaultLevel,
int[] levels)
Resolve the directionality levels of each character in a character seqeunce. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int[] resolveLevels(java.lang.CharSequence cs,
Direction defaultLevel)
cs - input character sequence representing a UTF-16 encoded stringdefaultLevel - the default paragraph level, which must be zero (LR) or one (RL)
public static int[] resolveLevels(int[] chars,
int defaultLevel,
int[] levels)
chars - array of input characters represented as unicode scalar valuesdefaultLevel - the default paragraph level, which must be zero (LR) or one (RL)levels - array to receive levels, one for each character in chars array
public static int[] resolveLevels(int[] chars,
int[] classes,
int defaultLevel,
int[] levels,
boolean useRuleL1)
chars - array of input characters represented as unicode scalar valuesclasses - array containing one bidi class per character in chars arraydefaultLevel - the default paragraph level, which must be zero (LR) or one (RL)levels - array to receive levels, one for each character in chars arrayuseRuleL1 - true if rule L1 should be used
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||