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 ABAP 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 LC_I Static Attribute Private Type reference (TYPE) C Unicode Character U+0131 (Turkish LC i) 20101013
2 NORMALIZATION_ACTIVE Static Attribute Private Type reference (TYPE) ABAP_BOOL Is NORMALIZE_INPUT active or not? 20101013
3 UC_I Static Attribute Private Type reference (TYPE) C Unicode Character U+0130 (Turkish UC i) 20101013
4 UNORM_NFC Constant Public Type reference (TYPE) ICU_A_NORMMODE 4 Canonical Decomposition and Canonical Composition 20041028
5 UNORM_NFD Constant Public Type reference (TYPE) ICU_A_NORMMODE 2 Canonical Decomposition 20041028
6 UNORM_NFKC Constant Public Type reference (TYPE) ICU_A_NORMMODE 5 Compatibility Decomposition and Canonical Composition 20041028
7 UNORM_NFKD Constant Public Type reference (TYPE) ICU_A_NORMMODE 3 Compatibility Decomposition 20041028
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20101013
2 IS_NORMALIZED Static method Public Method Is the text already normalized? 20041028
3 NORMALIZE Static method Public Method Normalization 20041028
4 NORMALIZE_INPUT Static method Public Method Normalization of Data Streams into the System 20101013
5 NORMALIZE_SEARCH_STRING Static method Public Method Normalization to Use with Search 20101013
6 NORM_COMPARE Static method Public Method Are the texts the same after the normalization? 20041028
7 PRIV_IS_NORMALIZED Static method Private Method Private Kernel Method 20041029
8 PRIV_NORMALIZE Static method Private Method Private Kernel Method 20041029
9 PRIV_NORM_COMPARE 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 Exporting EX_IS_NORMALIZED Call by reference Type reference (TYPE) ABAP_BOOL 20041029
2 Importing IM_NORMMODE Call by reference Type reference (TYPE) ICU_A_NORMMODE Normalisierungsmodus 20041029
3 Importing IM_TEXT Call by reference Type reference (TYPE) CSEQUENCE 20041029
# Exception Resumable Description Created on
1 CX_ICU_OTHER_ERROR Allgemeiner ICU Fehler 20041029
2 CX_ICU_WRONG_NORMMODE Falscher Normalisierungsmodus 20041029

Method NORMALIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_TEXT Call by reference Type reference (TYPE) STRING Normalisierter Text 20041028
2 Importing IM_NORMMODE Call by reference Type reference (TYPE) ICU_A_NORMMODE Normalisierungsmodus 20041028
3 Importing IM_TEXT Call by reference Type reference (TYPE) CSEQUENCE Zu normalisierender Text 20041028
# Exception Resumable Description Created on
1 CX_ICU_NOT_A_UNICODE_SYSTEM Das System ist kein Unicode System 20041029
2 CX_ICU_OTHER_ERROR Allgemeiner ICU Fehler 20041029
3 CX_ICU_WRONG_NORMMODE Falscher Normalisierungsmodus 20041029

Method NORMALIZE_INPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_STR Call by reference Type reference (TYPE) STRING String to be normalized 20101013
2 Returning RET_STR Value transfer Type reference (TYPE) STRING IM_STR normalized according to NFC 20101013
# Exception Resumable Description Created on
1 CX_ICU_OTHER_ERROR General ICU Error 20101013

Method NORMALIZE_SEARCH_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_STR Call by reference Type reference (TYPE) STRING zu normalisierender Text 20101013
2 Returning RET_STR Value transfer Type reference (TYPE) STRING normalisierter Text 20101013
3 Importing 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 CX_ICU_OTHER_ERROR General ICU Error 20101013

Method NORM_COMPARE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_EQUAL Call by reference Type reference (TYPE) ABAP_BOOL 20041029
2 Importing IM_TEXT1 Call by reference Type reference (TYPE) CSEQUENCE 20041029
3 Importing IM_TEXT2 Call by reference Type reference (TYPE) CSEQUENCE 20041029
# Exception Resumable Description Created on
1 CX_ICU_OTHER_ERROR Allgemeiner ICU Fehler 20041029

Method PRIV_IS_NORMALIZED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_IS_NORMALIZED Call by reference Type reference (TYPE) ABAP_BOOL 20041029
2 Exporting EX_OTHER_ERROR Call by reference Type reference (TYPE) ICU_S_OTHER_ERROR Allgemeine ICU Fehlermeldung 20041112
3 Importing IM_NORMMODE Call by reference Type reference (TYPE) ICU_A_NORMMODE Normalisierungsmodus 20041029
4 Importing 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 Exporting EX_OTHER_ERROR Call by reference Type reference (TYPE) ICU_S_OTHER_ERROR Allgemeine ICU Fehlermeldung 20041112
2 Exporting EX_TEXT Call by reference Type reference (TYPE) STRING Normalisierter Text 20041029
3 Importing IM_NORMMODE Call by reference Type reference (TYPE) ICU_A_NORMMODE Normalisierungsmodus 20041029
4 Importing 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 Exporting EX_EQUAL Call by reference Type reference (TYPE) ABAP_BOOL 20041029
2 Exporting EX_OTHER_ERROR Call by reference Type reference (TYPE) ICU_S_OTHER_ERROR Allgemeine ICU Fehlermeldung 20041112
3 Importing IM_TEXT1 Call by reference Type reference (TYPE) CSEQUENCE 20041029
4 Importing 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