SAP ABAP Class CL_ICU_NORMALIZATION (Unicode Normalizations)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-I18-UNI (Application Component) I18N Unicode
⤷
SI18N_ICU (Package) Wrapping of ICU Functions
⤷
⤷
Properties
| Class | CL_ICU_NORMALIZATION | |
| Short Description | Unicode Normalizations | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SI18N_ICU | Wrapping of ICU Functions |
| Created | 20041028 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ICU_NORMALIZATION has no interface implemented.
Friends
Class CL_ICU_NORMALIZATION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | C | Unicode Character U+0131 (Turkish LC i) | 20101013 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | Is NORMALIZE_INPUT active or not? | 20101013 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | C | Unicode Character U+0130 (Turkish UC i) | 20101013 | |||
| 4 | Constant | Public | Type reference (TYPE) | ICU_A_NORMMODE | 4 | Canonical Decomposition and Canonical Composition | 20041028 | ||
| 5 | Constant | Public | Type reference (TYPE) | ICU_A_NORMMODE | 2 | Canonical Decomposition | 20041028 | ||
| 6 | Constant | Public | Type reference (TYPE) | ICU_A_NORMMODE | 5 | Compatibility Decomposition and Canonical Composition | 20041028 | ||
| 7 | Constant | Public | Type reference (TYPE) | ICU_A_NORMMODE | 3 | Compatibility Decomposition | 20041028 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20101013 | |
| 2 | Static method | Public | Method | Is the text already normalized? | 20041028 | |
| 3 | Static method | Public | Method | Normalization | 20041028 | |
| 4 | Static method | Public | Method | Normalization of Data Streams into the System | 20101013 | |
| 5 | Static method | Public | Method | Normalization to Use with Search | 20101013 | |
| 6 | Static method | Public | Method | Are the texts the same after the normalization? | 20041028 | |
| 7 | Static method | Private | Method | Private Kernel Method | 20041029 | |
| 8 | Static method | Private | Method | Private Kernel Method | 20041029 | |
| 9 | Static method | Private | Method | Private Kernel Method | 20041029 |
Events
Class CL_ICU_NORMALIZATION has no event.
Types
Class CL_ICU_NORMALIZATION has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_ICU_NORMALIZATION has no parameter.
Method CLASS_CONSTRUCTOR on class CL_ICU_NORMALIZATION has no exception.
Method IS_NORMALIZED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_IS_NORMALIZED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20041029 | ||||
| 2 | IM_NORMMODE | Call by reference | Type reference (TYPE) | ICU_A_NORMMODE | Normalisierungsmodus | 20041029 | |||
| 3 | IM_TEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20041029 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Allgemeiner ICU Fehler | 20041029 | ||
| 2 | Falscher Normalisierungsmodus | 20041029 |
Method NORMALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_TEXT | Call by reference | Type reference (TYPE) | STRING | Normalisierter Text | 20041028 | |||
| 2 | IM_NORMMODE | Call by reference | Type reference (TYPE) | ICU_A_NORMMODE | Normalisierungsmodus | 20041028 | |||
| 3 | IM_TEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | Zu normalisierender Text | 20041028 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Das System ist kein Unicode System | 20041029 | ||
| 2 | Allgemeiner ICU Fehler | 20041029 | ||
| 3 | Falscher Normalisierungsmodus | 20041029 |
Method NORMALIZE_INPUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_STR | Call by reference | Type reference (TYPE) | STRING | String to be normalized | 20101013 | |||
| 2 | RET_STR | Value transfer | Type reference (TYPE) | STRING | IM_STR normalized according to NFC | 20101013 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | General ICU Error | 20101013 |
Method NORMALIZE_SEARCH_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_STR | Call by reference | Type reference (TYPE) | STRING | zu normalisierender Text | 20101013 | |||
| 2 | RET_STR | Value transfer | Type reference (TYPE) | STRING | normalisierter Text | 20101013 | |||
| 3 | TO_UPPER_CASE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Soll nach UPPER CASE (Großbuchstaben) konvertiert werden? | 20101013 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | General ICU Error | 20101013 |
Method NORM_COMPARE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_EQUAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20041029 | ||||
| 2 | IM_TEXT1 | Call by reference | Type reference (TYPE) | CSEQUENCE | 20041029 | ||||
| 3 | IM_TEXT2 | Call by reference | Type reference (TYPE) | CSEQUENCE | 20041029 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Allgemeiner ICU Fehler | 20041029 |
Method PRIV_IS_NORMALIZED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_IS_NORMALIZED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20041029 | ||||
| 2 | EX_OTHER_ERROR | Call by reference | Type reference (TYPE) | ICU_S_OTHER_ERROR | Allgemeine ICU Fehlermeldung | 20041112 | |||
| 3 | IM_NORMMODE | Call by reference | Type reference (TYPE) | ICU_A_NORMMODE | Normalisierungsmodus | 20041029 | |||
| 4 | IM_TEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20041029 |
Method PRIV_IS_NORMALIZED on class CL_ICU_NORMALIZATION has no exception.
Method PRIV_NORMALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_OTHER_ERROR | Call by reference | Type reference (TYPE) | ICU_S_OTHER_ERROR | Allgemeine ICU Fehlermeldung | 20041112 | |||
| 2 | EX_TEXT | Call by reference | Type reference (TYPE) | STRING | Normalisierter Text | 20041029 | |||
| 3 | IM_NORMMODE | Call by reference | Type reference (TYPE) | ICU_A_NORMMODE | Normalisierungsmodus | 20041029 | |||
| 4 | IM_TEXT | Call by reference | Type reference (TYPE) | STRING | Zu normalisierender Text | 20041029 |
Method PRIV_NORMALIZE on class CL_ICU_NORMALIZATION has no exception.
Method PRIV_NORM_COMPARE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_EQUAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20041029 | ||||
| 2 | EX_OTHER_ERROR | Call by reference | Type reference (TYPE) | ICU_S_OTHER_ERROR | Allgemeine ICU Fehlermeldung | 20041112 | |||
| 3 | IM_TEXT1 | Call by reference | Type reference (TYPE) | CSEQUENCE | 20041029 | ||||
| 4 | IM_TEXT2 | Call by reference | Type reference (TYPE) | CSEQUENCE | 20041029 |
Method PRIV_NORM_COMPARE on class CL_ICU_NORMALIZATION has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 700 |