SAP ABAP Class /UI2/CL_SERIALIZE (Generic compressed serialization class)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
CA-UI2-INT-BE (Application Component) Backend Enablement
⤷
/UI2/NWBC_CORE (Package) NetWeaver Business Client - Core Functionality

⤷

⤷

Properties
Class | /UI2/CL_SERIALIZE | |
Short Description | Generic compressed serialization class | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /UI2/NWBC_CORE | NetWeaver Business Client - Core Functionality |
Created | 20130522 | SAP |
Last change | 20141120 | |
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 /UI2/CL_SERIALIZE has no interface implemented.
Friends
Class /UI2/CL_SERIALIZE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Static Attribute | Public | Type reference (TYPE) | STRING | German stop word list separated by '|' | 20130613 | ||
2 | ![]() |
Static Attribute | Public | Type reference (TYPE) | STRING | English stop word list separated by '|' | 20130613 | ||
3 | ![]() |
Static Attribute | Public | Type reference (TYPE) | STRING | Spanish stop word list separated by '|' | 20130613 | ||
4 | ![]() |
Static Attribute | Public | Type reference (TYPE) | STRING | French stop word list separated by '|' | 20130613 | ||
5 | ![]() |
Static Attribute | Public | Type reference (TYPE) | STRING | Polish stop word list separated by '|' | 20130613 | ||
6 | ![]() |
Constant | Public | See coding | 20130522 | ||||
7 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CL_ICU_TRANSFORMATION | Transliteration helper | 20130625 | ||
8 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | STRING_TABLE | 20130522 | |||
9 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | MANDT | Client | 20140519 | ||
10 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | STRING | 20131129 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Adds multiple entries for serialization | 20130617 |
2 | ![]() |
Instance method | Public | Method | Add an entry to serialize | 20130522 |
3 | ![]() |
Static method | Public | Method | Convert number from one base to another | 20130522 |
4 | ![]() |
Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20130613 |
5 | ![]() |
Instance method | Public | Method | Delete all entries | 20130522 |
6 | ![]() |
Instance method | Public | Constructor | CONSTRUCTOR | 20130611 |
7 | ![]() |
Instance method | Public | Method | Serialize entries to string | 20130522 |
8 | ![]() |
Instance method | Public | Method | Get entry count | 20130522 |
9 | ![]() |
Instance method | Public | Method | Returns entries table | 20130617 |
10 | ![]() |
Instance method | Public | Method | Get entry by index | 20130522 |
11 | ![]() |
Static method | Public | Method | Get stop word list for language | 20130613 |
12 | ![]() |
Static method | Protected | Method | Lazy creation of transliteration object | 20130625 |
13 | ![]() |
Static method | Public | Method | Compress and pretty print the text | 20130613 |
14 | ![]() |
Instance method | Public | Method | Guid for mock-data construction (resolver) | 20131129 |
15 | ![]() |
Instance method | Public | Method | Deserialize entries from string | 20130522 |
Events
Class /UI2/CL_SERIALIZE has no event.
Types
Class /UI2/CL_SERIALIZE has no local type.
Method Signatures
Method ADD_ENTRIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_ENTRIES | Call by reference | Type reference (TYPE) | STRING_TABLE | Entries table | 20130617 |
Method ADD_ENTRIES on class /UI2/CL_SERIALIZE has no exception.
Method ADD_ENTRY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_CONDENSE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Truncate spaces | 20130522 | |
2 | ![]() |
IV_VALUE | Call by reference | Type reference (TYPE) | ANY | Value to serialize | 20130522 |
Method ADD_ENTRY on class /UI2/CL_SERIALIZE has no exception.
Method BASE_CONVERTER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_FROM_BASE | Call by reference | Type reference (TYPE) | I | 10 | From Base | 20130522 | |
2 | ![]() |
IV_NUMBER | Call by reference | Type reference (TYPE) | ANY | Number to convert | 20130522 | ||
3 | ![]() |
IV_TO_BASE | Call by reference | Type reference (TYPE) | I | 62 | To Base | 20130522 | |
4 | ![]() |
RV_VALUE | Value transfer | Type reference (TYPE) | STRING | Converted | 20130522 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Invalid base. Max base can be 62. Min base can be 2. | 20130522 | |
2 | ![]() |
Invalid character in the input number. | 20130522 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class /UI2/CL_SERIALIZE has no parameter.
Method CLASS_CONSTRUCTOR on class /UI2/CL_SERIALIZE has no exception.
Method CLEAR Signature
Method CLEAR on class /UI2/CL_SERIALIZE has no parameter.
Method CLEAR on class /UI2/CL_SERIALIZE has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_CLIENT | Call by reference | Type reference (TYPE) | MANDT | SY-MANDT | Client | 20140519 | |
2 | ![]() |
IV_INPUT_STRING | Call by reference | Type reference (TYPE) | STRING | Serialized fields | 20130611 |
Method CONSTRUCTOR on class /UI2/CL_SERIALIZE has no exception.
Method FROM_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_INPUT_STRING | Call by reference | Type reference (TYPE) | STRING | String to deserialize | 20130522 |
Method FROM_STRING on class /UI2/CL_SERIALIZE has no exception.
Method GET_COUNT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_VALUE | Value transfer | Type reference (TYPE) | SY-TABIX | Entries count | 20130522 |
Method GET_COUNT on class /UI2/CL_SERIALIZE has no exception.
Method GET_ENTRIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_ENTRIES | Call by reference | Type reference (TYPE) | STRING_TABLE | Entries table | 20130617 |
Method GET_ENTRIES on class /UI2/CL_SERIALIZE has no exception.
Method GET_ENTRY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_INDEX | Call by reference | Attribute reference (LIKE) | SY-TABIX | Index of entry | 20130522 | ||
2 | ![]() |
RV_VALUE | Value transfer | Type reference (TYPE) | STRING | Entry value | 20130522 |
Method GET_ENTRY on class /UI2/CL_SERIALIZE has no exception.
Method GET_STOP_WORDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_WORDS | Call by reference | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20130613 | ||
2 | ![]() |
EV_WORDS_STRING | Call by reference | Type reference (TYPE) | STRING | | separated list of words | 20130613 | ||
3 | ![]() |
IV_LANGU | Call by reference | Attribute reference (LIKE) | SY-LANGU | SY-LANGU | Language Key of Current Text Environment | 20130613 | |
4 | ![]() |
IV_NO_DEFAULT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Do not return English list if nothing matches | 20130613 |
Method GET_STOP_WORDS on class /UI2/CL_SERIALIZE has no exception.
Method GET_TRANSLIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RO_TRANSLIT | Value transfer | Object reference (TYPE REF TO) | CL_ICU_TRANSFORMATION | Transformations | 20130625 |
Method GET_TRANSLIT on class /UI2/CL_SERIALIZE has no exception.
Method PRETTY_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_REMOVE_STOP_WORDS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Remove stop words when condensing | 20130613 | |
2 | ![]() |
IV_STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | Text to condese and pretty print | 20130613 | ||
3 | ![]() |
IV_TRANSLITERATE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Transliterate text | 20130621 | |
4 | ![]() |
RV_CONDESED | Value transfer | Type reference (TYPE) | STRING | Condensed text | 20130613 |
Method PRETTY_TEXT on class /UI2/CL_SERIALIZE has no exception.
Method SET_GUID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_GUID | Call by reference | Type reference (TYPE) | STRING | 20131129 |
Method SET_GUID on class /UI2/CL_SERIALIZE has no exception.
Method TO_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ENCODING_METHOD | Call by reference | Type reference (TYPE) | C | Encoding method | 20130522 | ||
2 | ![]() |
IV_LEAD_STRING | Call by reference | Type reference (TYPE) | STRING | Lead string | 20130522 | ||
3 | ![]() |
RV_OUTPUT_STRING | Value transfer | Type reference (TYPE) | STRING | Serialized entries | 20130522 |
Method TO_STRING on class /UI2/CL_SERIALIZE has no exception.
History
Last changed by/on | SAP | 20141120 |
SAP Release Created in | 100 |