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 | 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 | Constant | Private | Type reference (TYPE) | USMD_CMM_V_ELEMENT_NAME | 'dummy' | Element Name | 20120503 | ||
| 2 | Constant | Private | Type reference (TYPE) | USMD_CMM_V_ELEMENT_NAME | 'nodeset' | Element Name | 20120504 | ||
| 3 | Constant | Private | Type reference (TYPE) | USMD_CMM_V_NS_URI | 'http://serialization' | Namespace URI | 20120504 | ||
| 4 | Constant | Private | Type reference (TYPE) | USMD_CMM_V_NS_URI | 'http://axxembly.org/ns/axxembly/1.0/Axxembly/namespace/Input' | Namespace URI | 20120503 | ||
| 5 | Constant | Private | Type reference (TYPE) | STRING | 'content' | Parameter Name | 20120503 | ||
| 6 | Constant | Private | Type reference (TYPE) | USMD_CMM_V_PREFIX | 'srz' | Prefix | 20120504 | ||
| 7 | Constant | Private | Type reference (TYPE) | USMD_CMM_V_XSLT_NAME | 'USMD_CMM_T_ID_IDENT' | Transformation Name | 20120503 | ||
| 8 | Constant | Private | Type reference (TYPE) | USMD_CMM_V_XSLT_NAME | 'USMD_CMM_T_UNALIAS' | Transformation Name | 20120503 | ||
| 9 | Constant | Private | Type reference (TYPE) | USMD_CMM_V_PREFIX | 'xmlns' | Prefix | 20120503 | ||
| 10 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_IXML | IF_IXML | 20120327 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Calculate Hash Value of String | 20120503 | |
| 2 | Static method | Public | Method | Convert String of System Code Page to UTF-8 Binary String | 20120503 | |
| 3 | Static method | Public | Method | Convert UTF-8 Binary String to String of System Code Page | 20120503 | |
| 4 | Static method | Public | Method | Create New Document | 20120327 | |
| 5 | Static method | Public | Method | Create Dummy Document | 20120503 | |
| 6 | Static method | Public | Method | Create Single-Element Document | 20120503 | |
| 7 | Static method | Public | Method | Convert Document to Binary tring | 20120503 | |
| 8 | Static method | Public | Method | Get Children as Node Collection | 20120503 | |
| 9 | Static method | Public | Method | Get the First Difference Between Two Node-Sets | 20120506 | |
| 10 | Static method | Public | Method | Get Node as Node Collection | 20120504 | |
| 11 | Static method | Public | Method | Get Output Content of the Specified Outlet | 20120503 | |
| 12 | Static method | Public | Method | Are the Specified Node Collections Equal? | 20120503 | |
| 13 | Static method | Public | Method | Node Collections Equal (Ignoring Insignificant WS)? | 20120504 | |
| 14 | Static method | Public | Method | Map Qualified Name to Component Name | 20120503 | |
| 15 | Static method | Public | Method | Serialize Document | 20120504 | |
| 16 | Static method | Public | Method | Serialize Node Collection | 20120504 | |
| 17 | Static method | Public | Method | Transfer Transformation from Alias to Standard Namespace | 20120503 | |
| 18 | Static method | Public | Method | Unwrap XML Content from XSLT | 20120503 | |
| 19 | 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 | IV_STRING | Call by reference | Type reference (TYPE) | STRING | String | 20120503 | |||
| 2 | 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 | IV_STRING | Call by reference | Type reference (TYPE) | STRING | String | 20120503 | |||
| 2 | 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 | IV_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | String | 20120503 | |||
| 2 | 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 | 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 | 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 | IV_NAME | Call by reference | Type reference (TYPE) | USMD_CMM_V_ELEMENT_NAME | Element Name | 20120503 | |||
| 2 | IV_NS_PREFIX | Call by reference | Type reference (TYPE) | USMD_CMM_V_PREFIX | Prefix | 20120503 | |||
| 3 | IV_NS_URI | Call by reference | Type reference (TYPE) | USMD_CMM_V_NS_URI | Namespace URI | 20120503 | |||
| 4 | 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 | IO_DOC | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | XML Document | 20120503 | |||
| 2 | IV_DO_INDENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Do Indent? | 20120503 | ||
| 3 | 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 | IO_ELE_PARENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | Parent | 20120503 | |||
| 2 | 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 | IO_NCL_1 | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Node Collection 1 | 20120506 | |||
| 2 | IO_NCL_2 | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Node Collection 2 | 20120506 | |||
| 3 | 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 | IO_NDE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | Node | 20120504 | |||
| 2 | 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 | IO_DOC_RESPONSE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | Response Document | 20120503 | |||
| 2 | IV_OUTLET | Call by reference | Type reference (TYPE) | STRING | Outlet | 20120503 | |||
| 3 | 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 | IO_NCL_1 | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Node Collection 1 | 20120503 | |||
| 2 | IO_NCL_2 | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Node Collection 2 | 20120503 | |||
| 3 | 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 | IO_NCL_1 | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Node Collection 1 | 20120504 | |||
| 2 | IO_NCL_2 | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Node Collection 2 | 20120504 | |||
| 3 | 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 | IV_COMP_PREFIX | Call by reference | Type reference (TYPE) | CHAR10 | Prefix of Component | 20120503 | |||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | Local Part of Qualified Name | 20120503 | |||
| 3 | IV_NAMESPACE | Call by reference | Type reference (TYPE) | STRING | URI of Qualified Name | 20120503 | |||
| 4 | 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 | IO_DOC | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | Document | 20120504 | |||
| 2 | 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 | IO_NCL | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Node Collection | 20120504 | |||
| 2 | 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 | IO_DOC_ALIASED | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | Transformation in Alias Namespace | 20120503 | |||
| 2 | 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 | IV_TRANSFORMATION | Call by reference | Type reference (TYPE) | USMD_CMM_V_XSLT_NAME | Transformation Name | 20120503 | |||
| 2 | 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 | IO_NCL_CONTENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | Content | 20120503 | |||
| 2 | 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 |