SAP ABAP Class CL_WDR_ESCAPE (XSS Escaping)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-WD-ABA-REN (Application Component) Web Dynpro ABAP Rendering
     SWDP_RUNTIME_RENDERING (Package) Web Dynpro Runtime: Rendering
Properties
Class CL_WDR_ESCAPE  
Short Description XSS Escaping    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWDP_RUNTIME_RENDERING   Web Dynpro Runtime: Rendering 
Created 20110614   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)
Interfaces
Class CL_WDR_ESCAPE has no interface implemented.
Friends
Class CL_WDR_ESCAPE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 XSS_ADAPTION Static Attribute Public Type reference (TYPE) ABAP_BOOL ABAP_TRUE XSS Adaption Active 20110614
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor 20110615
2 ESCAPE_HTML Static method Public Method 20110614
3 ESCAPE_JAVASCRIPT Static method Public Method 20110614
4 ESCAPE_URL Static method Public Method 20110614
5 ESCAPE_XML_ATTR_VALUE Static method Public Method 20110614
6 ESCAPE_XML_CHAR_DATA Static method Public Method 20110614
7 UNESCAPE_XHTML Static method Public Method Reset XML Escaping 20111108
Events
Class CL_WDR_ESCAPE has no event.
Types
Class CL_WDR_ESCAPE has no local type.
Method Signatures

Method CLASS_CONSTRUCTOR Signature

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

Method ESCAPE_HTML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FORMAT Call by reference Type reference (TYPE) I 20110614
2 Returning OUT Value transfer Type reference (TYPE) STRING 20110614
3 Importing VAL Call by reference Type reference (TYPE) CSEQUENCE 20110614

Method ESCAPE_HTML on class CL_WDR_ESCAPE has no exception.

Method ESCAPE_JAVASCRIPT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FORMAT Call by reference Type reference (TYPE) I 20110614
2 Importing INSIDE_HTML Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE In der neuen Methode nicht verfügbar (Output Content prüfen) 20110614
3 Returning OUT Value transfer Type reference (TYPE) STRING 20110614
4 Importing VAL Call by reference Type reference (TYPE) CSEQUENCE 20110614

Method ESCAPE_JAVASCRIPT on class CL_WDR_ESCAPE has no exception.

Method ESCAPE_URL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FORMAT Call by reference Type reference (TYPE) I 20110614
2 Importing OPTIONS Call by reference Type reference (TYPE) I In der neuen Methode nicht verfügbar (Neu: UTF-8 encoding) 20110614
3 Returning OUT Value transfer Type reference (TYPE) STRING 20110614
4 Importing VAL Call by reference Type reference (TYPE) CSEQUENCE 20110614

Method ESCAPE_URL on class CL_WDR_ESCAPE has no exception.

Method ESCAPE_XML_ATTR_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FORMAT Call by reference Type reference (TYPE) I 20110614
2 Returning OUT Value transfer Type reference (TYPE) STRING 20110614
3 Importing VAL Call by reference Type reference (TYPE) CSEQUENCE 20110614

Method ESCAPE_XML_ATTR_VALUE on class CL_WDR_ESCAPE has no exception.

Method ESCAPE_XML_CHAR_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FORMAT Call by reference Type reference (TYPE) I 20110614
2 Returning OUT Value transfer Type reference (TYPE) STRING 20110614
3 Importing VAL Call by reference Type reference (TYPE) CSEQUENCE 20110614

Method ESCAPE_XML_CHAR_DATA on class CL_WDR_ESCAPE has no exception.

Method UNESCAPE_XHTML Signature

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

Method UNESCAPE_XHTML on class CL_WDR_ESCAPE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 731