SAP ABAP Class CL_WD_FORMATTED_TEXT (WebDynpro: Formatted Text)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-WD-ABA (Application Component) Web Dynpro ABAP
     SWDP_UIEL_STANDARD (Package) UIE Library "Standard"
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_WDR_TEXT_FORMATTER Web Dynpro: SSR Rendering for Formatted Text 20050428
2 Inheritance (c INHERITING FROM c_ref)  CL_WDR_VD_TEXT_FORMATTER Web Dynpro: SSR Rendering for Formatted Text 20050629
Properties
Class CL_WD_FORMATTED_TEXT  
Short Description WebDynpro: Formatted Text    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWDP_UIEL_STANDARD   UIE Library "Standard" 
Created 20050428   SAP 
Last change 20130531   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)
2 CL_WD_FORMATTED_TEXT Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 IF_WD_FORMATTED_TEXT_TOKENS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_WD_FORMATTED_TEXT has no interface implemented.
Friends
Class CL_WD_FORMATTED_TEXT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 E_LINK_MODE Constant Public See coding 20111024
2 E_TAG Constant Public See coding Tags for FormattedText 20050429
3 E_TAG_CLASS Constant Protected See coding 20111104
4 E_TYPE Constant Public See coding 20050429
5 E_WAD_TAG Constant Public See coding Tags for WAD 20050429
6 M_INSTRUCTIONS Static Attribute Private Type reference (TYPE) T_INSTRUCTION_TAB 20050428
7 M_TAGS Static Attribute Protected Type reference (TYPE) T_TAG_MAP 20111104
8 M_TAG_ATTRIBUTES Static Attribute Private Type reference (TYPE) T_ATTRIBUTE_TAB 20050428
9 M_TIDY_MODE Instance attribute Private Type reference (TYPE) ABAP_BOOL 20111024
10 M_TYPE Instance attribute Public Type reference (TYPE) I 20050428
11 M_XML_TEXT Instance attribute Public Type reference (TYPE) STRING 20050429
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor 20050428
2 CONSTRUCTOR Instance method Public Constructor 20050428
3 CREATE Static method Public Method Create Formatted Text 20050428
4 CREATE_FROM_HTML Static method Public Method Cleanup HTML Text of Formatted Text 20070221
5 CREATE_FROM_SAPSCRIPT Static method Public Method SAPScript to Formatted Text 20050428
6 GET_PLAIN_TEXT Instance method Public Method Return Unformatted Text 20110710
7 GET_PLAIN_TEXT_FROM_TOKENS Static method Public Method Return Unformatted Text 20110714
8 GET_TOKENS Instance method Public Method Return Formatted Text as the Token 20110714
9 MAKE_A_TAG Static method Public Method Create Formatted Text with Link 20050428
10 MAKE_IMG_TAG Static method Public Method Create Formatted Text with Image 20050428
11 MAKE_SAP_ACTION Static method Public Method Create Formatted Text with Action 20050428
12 MAKE_SAP_FIELD Static method Public Method Create Formatted Text with Field 20050428
13 MAKE_TEXT Static method Public Method Create Formatted Text 20050428
14 MAYBE_UNESCAPE Instance method Private Method Intern.Fld 20110615
15 RENDER Instance method Public Method Render Formatted Text 20050428
16 RENDER_SPECIAL_TAG Instance method Private Method Render Special Tag 20050428
17 RENDER_SPECIAL_TAG_NEW Instance method Private Method Render Special Tag 20111024
18 REPLACE_PLACEHOLDER Instance method Public Method 20050429
19 SET_XML_TEXT Instance method Public Method Set Formatted Text 20050429
20 TIDY_XHTML Static method Private Method 20070221
21 TIDY_XHTML_NEW Static method Private Method 20111024
22 VALIDATE Instance method Public Method Check Formatted Text 20050428
23 WAD_TO_FORMATTED_TEXT Static method Private Method Convert WAD Tags to XHTML 20050428
24 __DESCRIBE_SAPSCRIPT_TOKENS Static method Public Method Intern.Fld 20050502
25 __DESCRIBE_TAGS Static method Public Method Intern.Fld 20050502
Events
Class CL_WD_FORMATTED_TEXT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_ATTRIBUTE Private See coding 20050428 begin of T_ATTRIBUTE, abs_name type string, tag_name type string, name type string, match1 type string, match2 type string, field type string, required type abap_bool, end of t_attribute
2 T_ATTRIBUTE_TAB Private See coding 20050428 t_attribute_tab type standard table of t_attribute
3 T_ATTRIBUTE_VALUES Private See coding 20050429 begin of t_attribute_values, src type string, href type string, title type string, name type string, target type string, end of t_attribute_values
4 T_INSTRUCTION Private See coding 20050428 begin of t_instruction, token_code type stxtoken-code, token_string type stxtoken-string, close_token_code type string, output_content type wdy_boolean, process_function type seocmpname, xml_begin type string, xml_end type string, end of t_instruction
5 T_INSTRUCTION_TAB Private See coding 20050428 t_instruction_tab type standard table of t_instruction
6 T_TAG Public Type reference (TYPE) STRING Enumeration of Possible Tags: CL_WD_FORMATTED_TEXT=>E_TAG 20050429
7 T_TAG_ENTRY Protected See coding 20111104 begin of t_tag_entry, class type i, name type string, end of t_tag_entry
8 T_TAG_MAP Protected See coding 20111104 t_tag_map type sorted table of t_tag_entry with unique key name
9 T_TYPE Public Type reference (TYPE) I Type of XML Source Text 20050429
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_WD_FORMATTED_TEXT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WD_FORMATTED_TEXT has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TYPE Call by reference Type reference (TYPE) I 20050428

Method CONSTRUCTOR on class CL_WD_FORMATTED_TEXT has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning FORMATTED_TEXT Value transfer Object reference (TYPE REF TO) CL_WD_FORMATTED_TEXT 20050428
2 Importing TYPE Call by reference Type reference (TYPE) T_TYPE E_TYPE-FORMATTED_TEXT 20050428
3 Importing XML_TEXT Call by reference Type reference (TYPE) STRING 20050429

Method CREATE on class CL_WD_FORMATTED_TEXT has no exception.

Method CREATE_FROM_HTML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning FORMATTED_TEXT Value transfer Object reference (TYPE REF TO) CL_WD_FORMATTED_TEXT WebDynpro: Formatierter Text 20070221
2 Importing HTML Call by reference Type reference (TYPE) STRING 20070221
3 Importing LINK_MODE Call by reference Type reference (TYPE) I E_LINK_MODE-REMOVE_LINKS 20111024

Method CREATE_FROM_HTML on class CL_WD_FORMATTED_TEXT has no exception.

Method CREATE_FROM_SAPSCRIPT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning FORMATTED_TEXT Value transfer Object reference (TYPE REF TO) CL_WD_FORMATTED_TEXT 20050428
2 Importing SAPSCRIPT_HEAD Value transfer Type reference (TYPE) THEAD SAPscript: Text-Header 20050428
3 Importing SAPSCRIPT_LINES Value transfer Type reference (TYPE) TEXT_LINE_TAB SAPscript: Zeilen 20050428
4 Importing TYPE Call by reference Type reference (TYPE) T_TYPE E_TYPE-FORMATTED_TEXT Typ des XML Quelltextes 20060629

Method CREATE_FROM_SAPSCRIPT on class CL_WD_FORMATTED_TEXT has no exception.

Method GET_PLAIN_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LINE_BREAKS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE TRUE: Zeilenumbrüche konvertieren, FALSE: Keine Umbrüche 20110713
2 Returning PLAIN_TEXT Value transfer Type reference (TYPE) STRING Text ohne Formatierungen und Encoding zurückgeben 20110710

Method GET_PLAIN_TEXT on class CL_WD_FORMATTED_TEXT has no exception.

Method GET_PLAIN_TEXT_FROM_TOKENS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LINE_BREAKS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20110714
2 Returning PLAIN_TEXT Value transfer Type reference (TYPE) STRING 20110714
3 Importing TOKENS Call by reference Type reference (TYPE) IF_WD_FORMATTED_TEXT_TOKENS=>T_TOKEN_TAB 20110714

Method GET_PLAIN_TEXT_FROM_TOKENS on class CL_WD_FORMATTED_TEXT has no exception.

Method GET_TOKENS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning TOKENS Value transfer Type reference (TYPE) IF_WD_FORMATTED_TEXT_TOKENS=>T_TOKEN_TAB 20110714

Method GET_TOKENS on class CL_WD_FORMATTED_TEXT has no exception.

Method MAKE_A_TAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning FORMATTED_TEXT Value transfer Object reference (TYPE REF TO) CL_WD_FORMATTED_TEXT 20050429
2 Importing HREF Call by reference Type reference (TYPE) STRING "HREF" Attribut 20050429
3 Importing INNER_FORMATTED_TEXT Call by reference Object reference (TYPE REF TO) CL_WD_FORMATTED_TEXT 20050429
4 Importing INNER_TEXT Call by reference Type reference (TYPE) STRING 20050429
5 Importing TARGET Call by reference Type reference (TYPE) STRING 20101118
6 Importing TITLE Call by reference Type reference (TYPE) STRING 20070925

Method MAKE_A_TAG on class CL_WD_FORMATTED_TEXT has no exception.

Method MAKE_IMG_TAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning FORMATTED_TEXT Value transfer Object reference (TYPE REF TO) CL_WD_FORMATTED_TEXT 20050429
2 Importing SRC Call by reference Type reference (TYPE) STRING URL des Bildes 20050429
3 Importing TITLE Call by reference Type reference (TYPE) STRING 20070925

Method MAKE_IMG_TAG on class CL_WD_FORMATTED_TEXT has no exception.

Method MAKE_SAP_ACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning FORMATTED_TEXT Value transfer Object reference (TYPE REF TO) CL_WD_FORMATTED_TEXT 20050429
2 Importing NAME Call by reference Type reference (TYPE) STRING Name der Action 20050429

Method MAKE_SAP_ACTION on class CL_WD_FORMATTED_TEXT has no exception.

Method MAKE_SAP_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning FORMATTED_TEXT Value transfer Object reference (TYPE REF TO) CL_WD_FORMATTED_TEXT 20050429
2 Importing NAME Call by reference Type reference (TYPE) STRING Name des Feld Attributes 20050429

Method MAKE_SAP_FIELD on class CL_WD_FORMATTED_TEXT has no exception.

Method MAKE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning FORMATTED_TEXT Value transfer Object reference (TYPE REF TO) CL_WD_FORMATTED_TEXT 20050428
2 Importing FORMATTED_TEXT_AFTER Call by reference Object reference (TYPE REF TO) CL_WD_FORMATTED_TEXT Am Ende des neuen Texts einfügen 20050428
3 Importing FORMATTED_TEXT_BEFORE Call by reference Object reference (TYPE REF TO) CL_WD_FORMATTED_TEXT Am Anfang des neuen Texts einfügen 20050428
4 Importing INNER_FORMATTED_TEXT Call by reference Object reference (TYPE REF TO) CL_WD_FORMATTED_TEXT Formatierter Text im Innenteil 20050428
5 Importing INNER_TEXT Call by reference Type reference (TYPE) STRING Text im Innenenteil, nach INNER_FORMATTED_TEXT 20050428
6 Importing TAG Call by reference Type reference (TYPE) T_TAG Innenteil umschließendes Tag 20050428

Method MAKE_TEXT on class CL_WD_FORMATTED_TEXT has no exception.

Method MAYBE_UNESCAPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ESCAPED_TEXT Call by reference Type reference (TYPE) CSEQUENCE 20110615
2 Returning TEXT Value transfer Type reference (TYPE) STRING 20110615

Method MAYBE_UNESCAPE on class CL_WD_FORMATTED_TEXT has no exception.

Method RENDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing RENDERER Value transfer Object reference (TYPE REF TO) IF_WD_FORMATTED_TEXT_RENDERER WebDynpro: Rendering Interface für formatierten Text 20050428

Method RENDER on class CL_WD_FORMATTED_TEXT has no exception.

Method RENDER_SPECIAL_TAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing RENDERER Call by reference Object reference (TYPE REF TO) IF_WD_FORMATTED_TEXT_RENDERER WebDynpro: Rendering Interface für formatierten Text 20050428
2 Importing TAG_NAME Call by reference Type reference (TYPE) STRING 20050428
3 Importing TAG_PARAM Value transfer Type reference (TYPE) STRING 20050428

Method RENDER_SPECIAL_TAG on class CL_WD_FORMATTED_TEXT has no exception.

Method RENDER_SPECIAL_TAG_NEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing OMIT_ATTR_NAME Call by reference Type reference (TYPE) STRING 20111024
2 Importing OMIT_MSG Call by reference Type reference (TYPE) STRING 20111024
3 Importing RENDERER Call by reference Object reference (TYPE REF TO) IF_WD_FORMATTED_TEXT_RENDERER WebDynpro: Rendering Interface für formatierten Text 20111024
4 Importing TAG_NAME Call by reference Type reference (TYPE) STRING 20111024
5 Importing TAG_PARAM Call by reference Type reference (TYPE) STRING 20111024

Method RENDER_SPECIAL_TAG_NEW on class CL_WD_FORMATTED_TEXT has no exception.

Method REPLACE_PLACEHOLDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FORMATTED_TEXT Call by reference Object reference (TYPE REF TO) CL_WD_FORMATTED_TEXT WebDynpro: Formatierter Text 20050429
2 Importing NAME Call by reference Type reference (TYPE) STRING 20050429
3 Returning REPLACED Value transfer Type reference (TYPE) ABAP_BOOL 20050429
4 Importing TEXT Call by reference Type reference (TYPE) STRING 20050429

Method REPLACE_PLACEHOLDER on class CL_WD_FORMATTED_TEXT has no exception.

Method SET_XML_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing XML_TEXT Call by reference Type reference (TYPE) STRING 20050429

Method SET_XML_TEXT on class CL_WD_FORMATTED_TEXT has no exception.

Method TIDY_XHTML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing HTML Call by reference Type reference (TYPE) STRING 20070221
2 Returning XHTML Value transfer Type reference (TYPE) STRING 20070221

Method TIDY_XHTML on class CL_WD_FORMATTED_TEXT has no exception.

Method TIDY_XHTML_NEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing HTML Call by reference Type reference (TYPE) STRING 20111024
2 Returning XHTML Value transfer Type reference (TYPE) STRING 20111024

Method TIDY_XHTML_NEW on class CL_WD_FORMATTED_TEXT has no exception.

Method VALIDATE Signature

Method VALIDATE on class CL_WD_FORMATTED_TEXT has no parameter.
Method VALIDATE on class CL_WD_FORMATTED_TEXT has no exception.

Method WAD_TO_FORMATTED_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning FORMATTED_TEXT_XML Value transfer Type reference (TYPE) STRING 20050428
2 Importing WAD_XML Call by reference Type reference (TYPE) STRING 20050428

Method WAD_TO_FORMATTED_TEXT on class CL_WD_FORMATTED_TEXT has no exception.

Method __DESCRIBE_SAPSCRIPT_TOKENS Signature

Method __DESCRIBE_SAPSCRIPT_TOKENS on class CL_WD_FORMATTED_TEXT has no parameter.
Method __DESCRIBE_SAPSCRIPT_TOKENS on class CL_WD_FORMATTED_TEXT has no exception.

Method __DESCRIBE_TAGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXAMPLE Value transfer Type reference (TYPE) STRING_TABLE Tabelle von Strings 20050502
2 Exporting TAGS Value transfer Type reference (TYPE) TIHTTPNVP HTTP Framework (iHTTP) Tabelle Name/Wert-Paare 20050502
3 Importing TYPE Call by reference Type reference (TYPE) T_TYPE CL_WD_FORMATTED_TEXT=>E_TYPE-FORMATTED_TEXT Typ des XML Quelltextes 20050502

Method __DESCRIBE_TAGS on class CL_WD_FORMATTED_TEXT has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 710