-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutput_cl_abap_conv_codepage_clas_locals_mjs.bundle.js
86 lines (81 loc) · 4.85 KB
/
output_cl_abap_conv_codepage_clas_locals_mjs.bundle.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
"use strict";
(self["webpackChunkabap2ui5"] = self["webpackChunkabap2ui5"] || []).push([["output_cl_abap_conv_codepage_clas_locals_mjs"],{
/***/ "./output/cl_abap_conv_codepage.clas.locals.mjs":
/*!******************************************************!*\
!*** ./output/cl_abap_conv_codepage.clas.locals.mjs ***!
\******************************************************/
/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => {
__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ lcl_in: () => (/* binding */ lcl_in),
/* harmony export */ lcl_out: () => (/* binding */ lcl_out)
/* harmony export */ });
const {cx_root} = await Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./cx_root.clas.mjs */ "./output/cx_root.clas.mjs"));
// cl_abap_conv_codepage.clas.locals_imp.abap
class lcl_in {
static INTERNAL_TYPE = 'CLAS';
static INTERNAL_NAME = 'CLAS-CL_ABAP_CONV_CODEPAGE-LCL_IN';
static IMPLEMENTED_INTERFACES = ["IF_ABAP_CONV_IN"];
static ATTRIBUTES = {"MV_ENCODING": {"type": () => {return new abap.types.Character(20, {"qualifiedName":"abap_encoding"});}, "visibility": "I", "is_constant": " ", "is_class": " "}};
static METHODS = {"CONSTRUCTOR": {"visibility": "U", "parameters": {"CODEPAGE": {"type": () => {return new abap.types.Character(20, {"qualifiedName":"abap_encoding"});}, "is_optional": " "}}}};
constructor() {
this.me = new abap.types.ABAPObject();
this.me.set(this);
this.mv_encoding = new abap.types.Character(20, {"qualifiedName":"abap_encoding"});
}
async constructor_(INPUT) {
let codepage = INPUT?.codepage;
if (codepage?.getQualifiedName === undefined || codepage.getQualifiedName() !== "ABAP_ENCODING") { codepage = undefined; }
if (codepage === undefined) { codepage = new abap.types.Character(20, {"qualifiedName":"abap_encoding"}).set(INPUT.codepage); }
this.mv_encoding.set(codepage);
return this;
}
async if_abap_conv_in$convert(INPUT) {
let result = new abap.types.String({qualifiedName: "STRING"});
let source = INPUT?.source;
if (source?.getQualifiedName === undefined || source.getQualifiedName() !== "XSTRING") { source = undefined; }
if (source === undefined) { source = new abap.types.XString({qualifiedName: "XSTRING"}).set(INPUT.source); }
let conv = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_CONV_IN_CE", RTTIName: "\\CLASS=CL_ABAP_CONV_IN_CE"});
conv.set((await abap.Classes['CL_ABAP_CONV_IN_CE'].create({encoding: this.mv_encoding})));
await conv.get().convert({input: source, data: result});
return result;
}
}
abap.Classes['CLAS-CL_ABAP_CONV_CODEPAGE-LCL_IN'] = lcl_in;
class lcl_out {
static INTERNAL_TYPE = 'CLAS';
static INTERNAL_NAME = 'CLAS-CL_ABAP_CONV_CODEPAGE-LCL_OUT';
static IMPLEMENTED_INTERFACES = ["IF_ABAP_CONV_OUT"];
static ATTRIBUTES = {"MV_ENCODING": {"type": () => {return new abap.types.Character(20, {"qualifiedName":"abap_encoding"});}, "visibility": "I", "is_constant": " ", "is_class": " "}};
static METHODS = {"CONSTRUCTOR": {"visibility": "U", "parameters": {"CODEPAGE": {"type": () => {return new abap.types.Character(20, {"qualifiedName":"abap_encoding"});}, "is_optional": " "}}}};
constructor() {
this.me = new abap.types.ABAPObject();
this.me.set(this);
this.mv_encoding = new abap.types.Character(20, {"qualifiedName":"abap_encoding"});
}
async constructor_(INPUT) {
let codepage = INPUT?.codepage;
if (codepage?.getQualifiedName === undefined || codepage.getQualifiedName() !== "ABAP_ENCODING") { codepage = undefined; }
if (codepage === undefined) { codepage = new abap.types.Character(20, {"qualifiedName":"abap_encoding"}).set(INPUT.codepage); }
this.mv_encoding.set(codepage);
return this;
}
async if_abap_conv_out$convert(INPUT) {
let result = new abap.types.XString({qualifiedName: "XSTRING"});
let source = INPUT?.source;
if (source?.getQualifiedName === undefined || source.getQualifiedName() !== "STRING") { source = undefined; }
if (source === undefined) { source = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.source); }
let conv = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_CONV_OUT_CE", RTTIName: "\\CLASS=CL_ABAP_CONV_OUT_CE"});
conv.set((await abap.Classes['CL_ABAP_CONV_OUT_CE'].create({encoding: this.mv_encoding})));
await conv.get().convert({data: source, buffer: result});
return result;
}
}
abap.Classes['CLAS-CL_ABAP_CONV_CODEPAGE-LCL_OUT'] = lcl_out;
//# sourceMappingURL=cl_abap_conv_codepage.clas.locals.mjs.map
__webpack_async_result__();
} catch(e) { __webpack_async_result__(e); } }, 1);
/***/ })
}]);
//# sourceMappingURL=output_cl_abap_conv_codepage_clas_locals_mjs.bundle.js.map