SAP ABAP Class CL_ESH_QP_TOKENIZER (Text tokenizer)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
     S_ESH_ENG_QUERY_PARSER (Package) Query Parser
Properties
Class CL_ESH_QP_TOKENIZER  
Short Description Text tokenizer    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_ESH_ENG_QUERY_PARSER   Query Parser 
Created 20090730   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_ESH_QP_TOKENIZER has no interface implemented.
Friends
Class CL_ESH_QP_TOKENIZER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MO_BI Instance attribute Private Object reference (TYPE REF TO) CL_ICU_BREAKITERATOR 20090730
2 MS_LOCALE Instance attribute Private Type reference (TYPE) ICU_S_LOCALE Transfer structure to specify an ICU locale 20090730
3 MV_LOCALE_NAME Instance attribute Private Type reference (TYPE) ICU_A_LOCALE_NAME ICU locale name 20090730
4 MV_REGEX_SPACE Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_REGEX Regular expressions 20090730
5 MV_SOURCE Instance attribute Private Type reference (TYPE) STRING 20090730
6 MV_SPACE_STR Instance attribute Private Type reference (TYPE) STRING 20090730
7 MV_START Instance attribute Private Type reference (TYPE) I 20090730
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20090730
2 CONTAINSALPHANUM Instance method Private Method Return true if input contains an alphanumeric character 20090730
3 GET_TOKENS Instance method Public Method Produce simple token list for a given string 20090730
4 GET_WORDS Instance method Public Method Produce word list for a given string 20090730
Events
Class CL_ESH_QP_TOKENIZER has no event.
Types
Class CL_ESH_QP_TOKENIZER has no local type.
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LOCALE Call by reference Type reference (TYPE) ICU_S_LOCALE Transfer Structure to Specify an ICU Locale 20090803
2 Importing IV_FALLBACK_OFF Call by reference Type reference (TYPE) CHAR1 Single-Character Flag 20090730
# Exception Resumable Description Created on
1 CX_ICU_LOCALE_NOT_AVAILABLE ICU Locale nicht vorhanden 20090730
2 CX_ICU_OTHER_ERROR General ICU Error 20090803

Method CONTAINSALPHANUM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_END Call by reference Type reference (TYPE) INT4 Natural number 20090730
2 Importing IV_S Call by reference Type reference (TYPE) STRING 20090730
3 Importing IV_START Call by reference Type reference (TYPE) INT4 Natural number 20090730
4 Returning RV_RC Value transfer Type reference (TYPE) ABAP_BOOL 20090730
# Exception Resumable Description Created on
1 CONTAINS_ALPHANUM_ERROR 20090730
2 ILLEGAL_INPUT_DATA 20090730
3 NO_INPUT_DATA 20090730

Method GET_TOKENS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TOKENS Call by reference Type reference (TYPE) STRING_TABLE Tokens in iv_source 20090730
2 Exporting EV_COUNT Call by reference Type reference (TYPE) I 20090730
3 Importing IV_SOURCE Call by reference Type reference (TYPE) STRING 20090730

Method GET_TOKENS on class CL_ESH_QP_TOKENIZER has no exception.

Method GET_WORDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WORDS Call by reference Type reference (TYPE) STRING_TABLE Words in iv_source 20090730
2 Exporting EV_COUNT Call by reference Type reference (TYPE) I 20090730
3 Importing IV_SOURCE Call by reference Type reference (TYPE) STRING 20090730

Method GET_WORDS on class CL_ESH_QP_TOKENIZER has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 730