Partager via


Normalizer2.GetRawDecomposition(Int32) Method

Definition

Gets the raw decomposition mapping of c.

[Android.Runtime.Register("getRawDecomposition", "(I)Ljava/lang/String;", "GetGetRawDecomposition_IHandler", ApiSince=24)]
public virtual string? GetRawDecomposition (int c);
[<Android.Runtime.Register("getRawDecomposition", "(I)Ljava/lang/String;", "GetGetRawDecomposition_IHandler", ApiSince=24)>]
abstract member GetRawDecomposition : int -> string
override this.GetRawDecomposition : int -> string

Parameters

c
Int32

code point

Returns

c's raw decomposition mapping, if any; otherwise null

Attributes

Remarks

Gets the raw decomposition mapping of c.

This is similar to the getDecomposition() method but returns the raw decomposition mapping as specified in UnicodeData.txt or (for custom data) in the mapping files processed by the gennorm2 tool. By contrast, getDecomposition() returns the processed, recursively-decomposed version of this mapping.

When used on a standard NFKC Normalizer2 instance, getRawDecomposition() returns the Unicode Decomposition_Mapping (dm) property.

When used on a standard NFC Normalizer2 instance, it returns the Decomposition_Mapping only if the Decomposition_Type (dt) is Canonical (Can); in this case, the result contains either one or two code points (=1..4 Java chars).

This function is independent of the mode of the Normalizer2. The default implementation returns null.

Java documentation for android.icu.text.Normalizer2.getRawDecomposition(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to