SAP ABAP Class CL_USMD_CMM_UTIL (Some Helpful Methods)
Hierarchy
MDG_FND (Software Component) MDG Foundation
   CA-MDG-AF (Application Component) Application Framework
     USMD2_COMMON (Package) Common objects of generic MDG UIs
Properties
Class CL_USMD_CMM_UTIL  
Short Description Some Helpful Methods    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package USMD2_COMMON   Common objects of generic MDG UIs 
Created 20120321   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_USMD_CMM_UTIL has no interface implemented.
Friends
Class CL_USMD_CMM_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CV_ELE_NAME_DUMMY Constant Private Type reference (TYPE) USMD_CMM_V_ELEMENT_NAME 'dummy' Element Name 20120503
2 CV_ELE_NAME_NODESET Constant Private Type reference (TYPE) USMD_CMM_V_ELEMENT_NAME 'nodeset' Element Name 20120504
3 CV_NS_URI_SERIALIZATION Constant Private Type reference (TYPE) USMD_CMM_V_NS_URI 'http://serialization' Namespace URI 20120504
4 CV_NS_URI_WRAPPED_NODESET Constant Private Type reference (TYPE) USMD_CMM_V_NS_URI 'http://axxembly.org/ns/axxembly/1.0/Axxembly/namespace/Input' Namespace URI 20120503
5 CV_PARAM_NAME_CONTENT Constant Private Type reference (TYPE) STRING 'content' Parameter Name 20120503
6 CV_PREFIX_SERIALIZATION Constant Private Type reference (TYPE) USMD_CMM_V_PREFIX 'srz' Prefix 20120504
7 CV_TRNSF_ID_INDENT Constant Private Type reference (TYPE) USMD_CMM_V_XSLT_NAME 'USMD_CMM_T_ID_IDENT' Transformation Name 20120503
8 CV_TRNSF_UNALIAS Constant Private Type reference (TYPE) USMD_CMM_V_XSLT_NAME 'USMD_CMM_T_UNALIAS' Transformation Name 20120503
9 CV_XML_DECL_PREFIX Constant Private Type reference (TYPE) USMD_CMM_V_PREFIX 'xmlns' Prefix 20120503
10 SO_IXML Static Attribute Private Object reference (TYPE REF TO) IF_IXML IF_IXML 20120327
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE_HASH20 Static method Public Method Calculate Hash Value of String 20120503
2 CONVERT_STRING_TO_UTF8_XSTRING Static method Public Method Convert String of System Code Page to UTF-8 Binary String 20120503
3 CONVERT_UTF8_XSTRING_TO_STRING Static method Public Method Convert UTF-8 Binary String to String of System Code Page 20120503
4 CREATE_DOCUMENT Static method Public Method Create New Document 20120327
5 CREATE_DUMMY_DOCUMENT Static method Public Method Create Dummy Document 20120503
6 CREATE_SINGLE_ELEMENT_DOCUMENT Static method Public Method Create Single-Element Document 20120503
7 DOC_TO_XSTRING Static method Public Method Convert Document to Binary tring 20120503
8 GET_CHILDREN_AS_NCL Static method Public Method Get Children as Node Collection 20120503
9 GET_FIRST_DIFF Static method Public Method Get the First Difference Between Two Node-Sets 20120506
10 GET_NODE_AS_NCL Static method Public Method Get Node as Node Collection 20120504
11 GET_OUTPUT_CONTENT Static method Public Method Get Output Content of the Specified Outlet 20120503
12 IS_EQUAL Static method Public Method Are the Specified Node Collections Equal? 20120503
13 IS_EQUAL_IGNORING_IWS Static method Public Method Node Collections Equal (Ignoring Insignificant WS)? 20120504
14 MAP_QNAME_TO_CMPNAME Static method Public Method Map Qualified Name to Component Name 20120503
15 SERIALIZE_DOCUMENT Static method Public Method Serialize Document 20120504
16 SERIALIZE_NODE_COLLECTION Static method Public Method Serialize Node Collection 20120504
17 UNALIAS Static method Public Method Transfer Transformation from Alias to Standard Namespace 20120503
18 UNWRAP_XML Static method Public Method Unwrap XML Content from XSLT 20120503
19 WRAP_XML Static method Public Method Wrap XML Content in XSLT 20120503
Events
Class CL_USMD_CMM_UTIL has no event.
Types
Class CL_USMD_CMM_UTIL has no local type.
Method Signatures

Method CALCULATE_HASH20 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_STRING Call by reference Type reference (TYPE) STRING String 20120503
2 Returning RV_HASH Value transfer Type reference (TYPE) CHAR20 Hash Value 20120503

Method CALCULATE_HASH20 on class CL_USMD_CMM_UTIL has no exception.

Method CONVERT_STRING_TO_UTF8_XSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_STRING Call by reference Type reference (TYPE) STRING String 20120503
2 Returning RV_XSTRING Value transfer Type reference (TYPE) XSTRING Binary String 20120503

Method CONVERT_STRING_TO_UTF8_XSTRING on class CL_USMD_CMM_UTIL has no exception.

Method CONVERT_UTF8_XSTRING_TO_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_XSTRING Call by reference Type reference (TYPE) XSTRING String 20120503
2 Returning RV_STRING Value transfer Type reference (TYPE) STRING Binary String 20120503

Method CONVERT_UTF8_XSTRING_TO_STRING on class CL_USMD_CMM_UTIL has no exception.

Method CREATE_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_DOC Value transfer Object reference (TYPE REF TO) IF_IXML_DOCUMENT New Document 20120327

Method CREATE_DOCUMENT on class CL_USMD_CMM_UTIL has no exception.

Method CREATE_DUMMY_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_DOC Value transfer Object reference (TYPE REF TO) IF_IXML_DOCUMENT Dummy Document 20120503

Method CREATE_DUMMY_DOCUMENT on class CL_USMD_CMM_UTIL has no exception.

Method CREATE_SINGLE_ELEMENT_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NAME Call by reference Type reference (TYPE) USMD_CMM_V_ELEMENT_NAME Element Name 20120503
2 Importing IV_NS_PREFIX Call by reference Type reference (TYPE) USMD_CMM_V_PREFIX Prefix 20120503
3 Importing IV_NS_URI Call by reference Type reference (TYPE) USMD_CMM_V_NS_URI Namespace URI 20120503
4 Returning RO_DOC_SINGLE_ELEMENT Value transfer Object reference (TYPE REF TO) IF_IXML_DOCUMENT Single Element Document 20120503

Method CREATE_SINGLE_ELEMENT_DOCUMENT on class CL_USMD_CMM_UTIL has no exception.

Method DOC_TO_XSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DOC Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT XML Document 20120503
2 Importing IV_DO_INDENT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Do Indent? 20120503
3 Returning RV_XSTRING Value transfer Type reference (TYPE) XSTRING Binary String 20120503

Method DOC_TO_XSTRING on class CL_USMD_CMM_UTIL has no exception.

Method GET_CHILDREN_AS_NCL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ELE_PARENT Call by reference Object reference (TYPE REF TO) IF_IXML_ELEMENT Parent 20120503
2 Returning RO_NCL_CHILDREN Value transfer Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Children 20120503

Method GET_CHILDREN_AS_NCL on class CL_USMD_CMM_UTIL has no exception.

Method GET_FIRST_DIFF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_NCL_1 Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Node Collection 1 20120506
2 Importing IO_NCL_2 Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Node Collection 2 20120506
3 Returning RV_DIFF Value transfer Type reference (TYPE) STRING First Difference 20120506

Method GET_FIRST_DIFF on class CL_USMD_CMM_UTIL has no exception.

Method GET_NODE_AS_NCL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_NDE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE Node 20120504
2 Returning RO_NCL Value transfer Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Node Collection 20120504

Method GET_NODE_AS_NCL on class CL_USMD_CMM_UTIL has no exception.

Method GET_OUTPUT_CONTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DOC_RESPONSE Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT Response Document 20120503
2 Importing IV_OUTLET Call by reference Type reference (TYPE) STRING Outlet 20120503
3 Returning RO_NCL_CONTENT Value transfer Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Content 20120503

Method GET_OUTPUT_CONTENT on class CL_USMD_CMM_UTIL has no exception.

Method IS_EQUAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_NCL_1 Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Node Collection 1 20120503
2 Importing IO_NCL_2 Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Node Collection 2 20120503
3 Returning RV_IS_EQUAL Value transfer Type reference (TYPE) ABAP_BOOL Equal? 20120503

Method IS_EQUAL on class CL_USMD_CMM_UTIL has no exception.

Method IS_EQUAL_IGNORING_IWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_NCL_1 Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Node Collection 1 20120504
2 Importing IO_NCL_2 Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Node Collection 2 20120504
3 Returning RV_IS_EQUAL Value transfer Type reference (TYPE) ABAP_BOOL Equal? 20120504

Method IS_EQUAL_IGNORING_IWS on class CL_USMD_CMM_UTIL has no exception.

Method MAP_QNAME_TO_CMPNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COMP_PREFIX Call by reference Type reference (TYPE) CHAR10 Prefix of Component 20120503
2 Importing IV_NAME Call by reference Type reference (TYPE) STRING Local Part of Qualified Name 20120503
3 Importing IV_NAMESPACE Call by reference Type reference (TYPE) STRING URI of Qualified Name 20120503
4 Returning RV_COMP_NAME Value transfer Type reference (TYPE) SEOCMPNAME Component Name 20120503

Method MAP_QNAME_TO_CMPNAME on class CL_USMD_CMM_UTIL has no exception.

Method SERIALIZE_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DOC Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT Document 20120504
2 Returning RV_DOCUMENT Value transfer Type reference (TYPE) STRING Document 20120504

Method SERIALIZE_DOCUMENT on class CL_USMD_CMM_UTIL has no exception.

Method SERIALIZE_NODE_COLLECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_NCL Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Node Collection 20120504
2 Returning RV_NODE_COLLECTION Value transfer Type reference (TYPE) STRING Node Collection 20120504

Method SERIALIZE_NODE_COLLECTION on class CL_USMD_CMM_UTIL has no exception.

Method UNALIAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DOC_ALIASED Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT Transformation in Alias Namespace 20120503
2 Returning RO_DOC_UNALIASED Value transfer Object reference (TYPE REF TO) IF_IXML_DOCUMENT Transformation in Standard Namespace 20120503

Method UNALIAS on class CL_USMD_CMM_UTIL has no exception.

Method UNWRAP_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TRANSFORMATION Call by reference Type reference (TYPE) USMD_CMM_V_XSLT_NAME Transformation Name 20120503
2 Returning RO_NCL_CONTENT Value transfer Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Content 20120503

Method UNWRAP_XML on class CL_USMD_CMM_UTIL has no exception.

Method WRAP_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_NCL_CONTENT Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Content 20120503
2 Returning RO_DOC_WRAPPED Value transfer Object reference (TYPE REF TO) IF_IXML_DOCUMENT Wrapped Content 20120503

Method WRAP_XML on class CL_USMD_CMM_UTIL has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 732