cdk-docker-image-deployment 0.0.217 → 0.0.219
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/destination.js +1 -1
- package/lib/docker-image-deployment.js +1 -1
- package/lib/source.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +9 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +196 -187
- package/node_modules/aws-sdk/apis/marketplace-catalog-2018-09-17.min.json +82 -15
- package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +56 -32
- package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +224 -138
- package/node_modules/aws-sdk/clients/connect.d.ts +15 -4
- package/node_modules/aws-sdk/clients/ecs.d.ts +24 -24
- package/node_modules/aws-sdk/clients/marketplacecatalog.d.ts +67 -7
- package/node_modules/aws-sdk/clients/mediaconvert.d.ts +20 -1
- package/node_modules/aws-sdk/clients/omics.d.ts +2 -2
- package/node_modules/aws-sdk/clients/rekognition.d.ts +114 -16
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +2532 -875
- package/node_modules/aws-sdk/dist/aws-sdk.js +505 -343
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +79 -79
- package/node_modules/aws-sdk/dist/xml2js.js +2579 -922
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +2 -2
- package/node_modules/xml2js/README.md +108 -7
- package/node_modules/xml2js/lib/parser.js +35 -7
- package/node_modules/xml2js/lib/xml2js.js +2 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/CHANGELOG.md +47 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/LICENSE +21 -21
- package/node_modules/xml2js/node_modules/xmlbuilder/README.md +86 -85
- package/node_modules/xml2js/node_modules/xmlbuilder/appveyor.yml +20 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/Derivation.js +10 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js +23 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/OperationType.js +11 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js +11 -1
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js +10 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js +86 -9
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js +10 -6
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js +79 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js +10 -6
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +64 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +16 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +32 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js +28 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js +16 -11
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js +7 -4
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js +49 -8
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js +20 -5
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js +5 -2
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js +84 -5
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js +199 -5
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js +165 -39
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +24 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js +31 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js +207 -20
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +58 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js +403 -50
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeFilter.js +48 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js +28 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +19 -5
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js +6 -3
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js +94 -197
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js +6 -305
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js +109 -32
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js +43 -6
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLTypeInfo.js +21 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +16 -0
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js +397 -59
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/index.js +15 -3
- package/node_modules/xml2js/node_modules/xmlbuilder/package.json +5 -3
- package/node_modules/xml2js/node_modules/xmlbuilder/typings/index.d.ts +153 -0
- package/node_modules/xml2js/package.json +11 -5
- package/package.json +4 -4
- package/node_modules/xml2js/node_modules/xmlbuilder/.npmignore +0 -5
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
// Generated by CoffeeScript 1.12.7
|
|
2
2
|
(function() {
|
|
3
|
-
var XMLDTDNotation, XMLNode,
|
|
3
|
+
var NodeType, XMLDTDNotation, XMLNode,
|
|
4
4
|
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
|
|
5
5
|
hasProp = {}.hasOwnProperty;
|
|
6
6
|
|
|
7
7
|
XMLNode = require('./XMLNode');
|
|
8
8
|
|
|
9
|
+
NodeType = require('./NodeType');
|
|
10
|
+
|
|
9
11
|
module.exports = XMLDTDNotation = (function(superClass) {
|
|
10
12
|
extend(XMLDTDNotation, superClass);
|
|
11
13
|
|
|
12
14
|
function XMLDTDNotation(parent, name, value) {
|
|
13
15
|
XMLDTDNotation.__super__.constructor.call(this, parent);
|
|
14
16
|
if (name == null) {
|
|
15
|
-
throw new Error("Missing notation name");
|
|
17
|
+
throw new Error("Missing DTD notation name. " + this.debugInfo(name));
|
|
16
18
|
}
|
|
17
19
|
if (!value.pubID && !value.sysID) {
|
|
18
|
-
throw new Error("Public or system identifiers are required for an external entity");
|
|
20
|
+
throw new Error("Public or system identifiers are required for an external entity. " + this.debugInfo(name));
|
|
19
21
|
}
|
|
20
|
-
this.name = this.stringify.
|
|
22
|
+
this.name = this.stringify.name(name);
|
|
23
|
+
this.type = NodeType.NotationDeclaration;
|
|
21
24
|
if (value.pubID != null) {
|
|
22
25
|
this.pubID = this.stringify.dtdPubID(value.pubID);
|
|
23
26
|
}
|
|
@@ -26,8 +29,20 @@
|
|
|
26
29
|
}
|
|
27
30
|
}
|
|
28
31
|
|
|
32
|
+
Object.defineProperty(XMLDTDNotation.prototype, 'publicId', {
|
|
33
|
+
get: function() {
|
|
34
|
+
return this.pubID;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
Object.defineProperty(XMLDTDNotation.prototype, 'systemId', {
|
|
39
|
+
get: function() {
|
|
40
|
+
return this.sysID;
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
|
|
29
44
|
XMLDTDNotation.prototype.toString = function(options) {
|
|
30
|
-
return this.options.writer.
|
|
45
|
+
return this.options.writer.dtdNotation(this, this.options.writer.filterOptions(options));
|
|
31
46
|
};
|
|
32
47
|
|
|
33
48
|
return XMLDTDNotation;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by CoffeeScript 1.12.7
|
|
2
2
|
(function() {
|
|
3
|
-
var XMLDeclaration, XMLNode, isObject,
|
|
3
|
+
var NodeType, XMLDeclaration, XMLNode, isObject,
|
|
4
4
|
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
|
|
5
5
|
hasProp = {}.hasOwnProperty;
|
|
6
6
|
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
XMLNode = require('./XMLNode');
|
|
10
10
|
|
|
11
|
+
NodeType = require('./NodeType');
|
|
12
|
+
|
|
11
13
|
module.exports = XMLDeclaration = (function(superClass) {
|
|
12
14
|
extend(XMLDeclaration, superClass);
|
|
13
15
|
|
|
@@ -20,6 +22,7 @@
|
|
|
20
22
|
if (!version) {
|
|
21
23
|
version = '1.0';
|
|
22
24
|
}
|
|
25
|
+
this.type = NodeType.Declaration;
|
|
23
26
|
this.version = this.stringify.xmlVersion(version);
|
|
24
27
|
if (encoding != null) {
|
|
25
28
|
this.encoding = this.stringify.xmlEncoding(encoding);
|
|
@@ -30,7 +33,7 @@
|
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
XMLDeclaration.prototype.toString = function(options) {
|
|
33
|
-
return this.options.writer.
|
|
36
|
+
return this.options.writer.declaration(this, this.options.writer.filterOptions(options));
|
|
34
37
|
};
|
|
35
38
|
|
|
36
39
|
return XMLDeclaration;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by CoffeeScript 1.12.7
|
|
2
2
|
(function() {
|
|
3
|
-
var XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDocType, XMLNode, isObject,
|
|
3
|
+
var NodeType, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDocType, XMLNamedNodeMap, XMLNode, isObject,
|
|
4
4
|
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
|
|
5
5
|
hasProp = {}.hasOwnProperty;
|
|
6
6
|
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
XMLNode = require('./XMLNode');
|
|
10
10
|
|
|
11
|
+
NodeType = require('./NodeType');
|
|
12
|
+
|
|
11
13
|
XMLDTDAttList = require('./XMLDTDAttList');
|
|
12
14
|
|
|
13
15
|
XMLDTDEntity = require('./XMLDTDEntity');
|
|
@@ -16,18 +18,31 @@
|
|
|
16
18
|
|
|
17
19
|
XMLDTDNotation = require('./XMLDTDNotation');
|
|
18
20
|
|
|
21
|
+
XMLNamedNodeMap = require('./XMLNamedNodeMap');
|
|
22
|
+
|
|
19
23
|
module.exports = XMLDocType = (function(superClass) {
|
|
20
24
|
extend(XMLDocType, superClass);
|
|
21
25
|
|
|
22
26
|
function XMLDocType(parent, pubID, sysID) {
|
|
23
|
-
var ref, ref1;
|
|
27
|
+
var child, i, len, ref, ref1, ref2;
|
|
24
28
|
XMLDocType.__super__.constructor.call(this, parent);
|
|
29
|
+
this.type = NodeType.DocType;
|
|
30
|
+
if (parent.children) {
|
|
31
|
+
ref = parent.children;
|
|
32
|
+
for (i = 0, len = ref.length; i < len; i++) {
|
|
33
|
+
child = ref[i];
|
|
34
|
+
if (child.type === NodeType.Element) {
|
|
35
|
+
this.name = child.name;
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
25
40
|
this.documentObject = parent;
|
|
26
41
|
if (isObject(pubID)) {
|
|
27
|
-
|
|
42
|
+
ref1 = pubID, pubID = ref1.pubID, sysID = ref1.sysID;
|
|
28
43
|
}
|
|
29
44
|
if (sysID == null) {
|
|
30
|
-
|
|
45
|
+
ref2 = [pubID, sysID], sysID = ref2[0], pubID = ref2[1];
|
|
31
46
|
}
|
|
32
47
|
if (pubID != null) {
|
|
33
48
|
this.pubID = this.stringify.dtdPubID(pubID);
|
|
@@ -37,6 +52,54 @@
|
|
|
37
52
|
}
|
|
38
53
|
}
|
|
39
54
|
|
|
55
|
+
Object.defineProperty(XMLDocType.prototype, 'entities', {
|
|
56
|
+
get: function() {
|
|
57
|
+
var child, i, len, nodes, ref;
|
|
58
|
+
nodes = {};
|
|
59
|
+
ref = this.children;
|
|
60
|
+
for (i = 0, len = ref.length; i < len; i++) {
|
|
61
|
+
child = ref[i];
|
|
62
|
+
if ((child.type === NodeType.EntityDeclaration) && !child.pe) {
|
|
63
|
+
nodes[child.name] = child;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return new XMLNamedNodeMap(nodes);
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
Object.defineProperty(XMLDocType.prototype, 'notations', {
|
|
71
|
+
get: function() {
|
|
72
|
+
var child, i, len, nodes, ref;
|
|
73
|
+
nodes = {};
|
|
74
|
+
ref = this.children;
|
|
75
|
+
for (i = 0, len = ref.length; i < len; i++) {
|
|
76
|
+
child = ref[i];
|
|
77
|
+
if (child.type === NodeType.NotationDeclaration) {
|
|
78
|
+
nodes[child.name] = child;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return new XMLNamedNodeMap(nodes);
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
Object.defineProperty(XMLDocType.prototype, 'publicId', {
|
|
86
|
+
get: function() {
|
|
87
|
+
return this.pubID;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
Object.defineProperty(XMLDocType.prototype, 'systemId', {
|
|
92
|
+
get: function() {
|
|
93
|
+
return this.sysID;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
Object.defineProperty(XMLDocType.prototype, 'internalSubset', {
|
|
98
|
+
get: function() {
|
|
99
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
|
|
40
103
|
XMLDocType.prototype.element = function(name, value) {
|
|
41
104
|
var child;
|
|
42
105
|
child = new XMLDTDElement(this, name, value);
|
|
@@ -73,7 +136,7 @@
|
|
|
73
136
|
};
|
|
74
137
|
|
|
75
138
|
XMLDocType.prototype.toString = function(options) {
|
|
76
|
-
return this.options.writer.
|
|
139
|
+
return this.options.writer.docType(this, this.options.writer.filterOptions(options));
|
|
77
140
|
};
|
|
78
141
|
|
|
79
142
|
XMLDocType.prototype.ele = function(name, value) {
|
|
@@ -100,6 +163,22 @@
|
|
|
100
163
|
return this.root() || this.documentObject;
|
|
101
164
|
};
|
|
102
165
|
|
|
166
|
+
XMLDocType.prototype.isEqualNode = function(node) {
|
|
167
|
+
if (!XMLDocType.__super__.isEqualNode.apply(this, arguments).isEqualNode(node)) {
|
|
168
|
+
return false;
|
|
169
|
+
}
|
|
170
|
+
if (node.name !== this.name) {
|
|
171
|
+
return false;
|
|
172
|
+
}
|
|
173
|
+
if (node.publicId !== this.publicId) {
|
|
174
|
+
return false;
|
|
175
|
+
}
|
|
176
|
+
if (node.systemId !== this.systemId) {
|
|
177
|
+
return false;
|
|
178
|
+
}
|
|
179
|
+
return true;
|
|
180
|
+
};
|
|
181
|
+
|
|
103
182
|
return XMLDocType;
|
|
104
183
|
|
|
105
184
|
})(XMLNode);
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
// Generated by CoffeeScript 1.12.7
|
|
2
2
|
(function() {
|
|
3
|
-
var XMLDocument, XMLNode, XMLStringWriter, XMLStringifier, isPlainObject,
|
|
3
|
+
var NodeType, XMLDOMConfiguration, XMLDOMImplementation, XMLDocument, XMLNode, XMLStringWriter, XMLStringifier, isPlainObject,
|
|
4
4
|
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
|
|
5
5
|
hasProp = {}.hasOwnProperty;
|
|
6
6
|
|
|
7
7
|
isPlainObject = require('./Utility').isPlainObject;
|
|
8
8
|
|
|
9
|
+
XMLDOMImplementation = require('./XMLDOMImplementation');
|
|
10
|
+
|
|
11
|
+
XMLDOMConfiguration = require('./XMLDOMConfiguration');
|
|
12
|
+
|
|
9
13
|
XMLNode = require('./XMLNode');
|
|
10
14
|
|
|
15
|
+
NodeType = require('./NodeType');
|
|
16
|
+
|
|
11
17
|
XMLStringifier = require('./XMLStringifier');
|
|
12
18
|
|
|
13
19
|
XMLStringWriter = require('./XMLStringWriter');
|
|
@@ -17,28 +23,216 @@
|
|
|
17
23
|
|
|
18
24
|
function XMLDocument(options) {
|
|
19
25
|
XMLDocument.__super__.constructor.call(this, null);
|
|
26
|
+
this.name = "#document";
|
|
27
|
+
this.type = NodeType.Document;
|
|
28
|
+
this.documentURI = null;
|
|
29
|
+
this.domConfig = new XMLDOMConfiguration();
|
|
20
30
|
options || (options = {});
|
|
21
31
|
if (!options.writer) {
|
|
22
32
|
options.writer = new XMLStringWriter();
|
|
23
33
|
}
|
|
24
34
|
this.options = options;
|
|
25
35
|
this.stringify = new XMLStringifier(options);
|
|
26
|
-
this.isDocument = true;
|
|
27
36
|
}
|
|
28
37
|
|
|
38
|
+
Object.defineProperty(XMLDocument.prototype, 'implementation', {
|
|
39
|
+
value: new XMLDOMImplementation()
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
Object.defineProperty(XMLDocument.prototype, 'doctype', {
|
|
43
|
+
get: function() {
|
|
44
|
+
var child, i, len, ref;
|
|
45
|
+
ref = this.children;
|
|
46
|
+
for (i = 0, len = ref.length; i < len; i++) {
|
|
47
|
+
child = ref[i];
|
|
48
|
+
if (child.type === NodeType.DocType) {
|
|
49
|
+
return child;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
Object.defineProperty(XMLDocument.prototype, 'documentElement', {
|
|
57
|
+
get: function() {
|
|
58
|
+
return this.rootObject || null;
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
Object.defineProperty(XMLDocument.prototype, 'inputEncoding', {
|
|
63
|
+
get: function() {
|
|
64
|
+
return null;
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
Object.defineProperty(XMLDocument.prototype, 'strictErrorChecking', {
|
|
69
|
+
get: function() {
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
Object.defineProperty(XMLDocument.prototype, 'xmlEncoding', {
|
|
75
|
+
get: function() {
|
|
76
|
+
if (this.children.length !== 0 && this.children[0].type === NodeType.Declaration) {
|
|
77
|
+
return this.children[0].encoding;
|
|
78
|
+
} else {
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
Object.defineProperty(XMLDocument.prototype, 'xmlStandalone', {
|
|
85
|
+
get: function() {
|
|
86
|
+
if (this.children.length !== 0 && this.children[0].type === NodeType.Declaration) {
|
|
87
|
+
return this.children[0].standalone === 'yes';
|
|
88
|
+
} else {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
Object.defineProperty(XMLDocument.prototype, 'xmlVersion', {
|
|
95
|
+
get: function() {
|
|
96
|
+
if (this.children.length !== 0 && this.children[0].type === NodeType.Declaration) {
|
|
97
|
+
return this.children[0].version;
|
|
98
|
+
} else {
|
|
99
|
+
return "1.0";
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
Object.defineProperty(XMLDocument.prototype, 'URL', {
|
|
105
|
+
get: function() {
|
|
106
|
+
return this.documentURI;
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
Object.defineProperty(XMLDocument.prototype, 'origin', {
|
|
111
|
+
get: function() {
|
|
112
|
+
return null;
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
Object.defineProperty(XMLDocument.prototype, 'compatMode', {
|
|
117
|
+
get: function() {
|
|
118
|
+
return null;
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
Object.defineProperty(XMLDocument.prototype, 'characterSet', {
|
|
123
|
+
get: function() {
|
|
124
|
+
return null;
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
Object.defineProperty(XMLDocument.prototype, 'contentType', {
|
|
129
|
+
get: function() {
|
|
130
|
+
return null;
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
|
|
29
134
|
XMLDocument.prototype.end = function(writer) {
|
|
30
135
|
var writerOptions;
|
|
136
|
+
writerOptions = {};
|
|
31
137
|
if (!writer) {
|
|
32
138
|
writer = this.options.writer;
|
|
33
139
|
} else if (isPlainObject(writer)) {
|
|
34
140
|
writerOptions = writer;
|
|
35
|
-
writer = this.options.writer
|
|
141
|
+
writer = this.options.writer;
|
|
36
142
|
}
|
|
37
|
-
return writer.document(this);
|
|
143
|
+
return writer.document(this, writer.filterOptions(writerOptions));
|
|
38
144
|
};
|
|
39
145
|
|
|
40
146
|
XMLDocument.prototype.toString = function(options) {
|
|
41
|
-
return this.options.writer.
|
|
147
|
+
return this.options.writer.document(this, this.options.writer.filterOptions(options));
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
XMLDocument.prototype.createElement = function(tagName) {
|
|
151
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
XMLDocument.prototype.createDocumentFragment = function() {
|
|
155
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
XMLDocument.prototype.createTextNode = function(data) {
|
|
159
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
XMLDocument.prototype.createComment = function(data) {
|
|
163
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
XMLDocument.prototype.createCDATASection = function(data) {
|
|
167
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
XMLDocument.prototype.createProcessingInstruction = function(target, data) {
|
|
171
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
XMLDocument.prototype.createAttribute = function(name) {
|
|
175
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
XMLDocument.prototype.createEntityReference = function(name) {
|
|
179
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
XMLDocument.prototype.getElementsByTagName = function(tagname) {
|
|
183
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
XMLDocument.prototype.importNode = function(importedNode, deep) {
|
|
187
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
XMLDocument.prototype.createElementNS = function(namespaceURI, qualifiedName) {
|
|
191
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
XMLDocument.prototype.createAttributeNS = function(namespaceURI, qualifiedName) {
|
|
195
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
XMLDocument.prototype.getElementsByTagNameNS = function(namespaceURI, localName) {
|
|
199
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
XMLDocument.prototype.getElementById = function(elementId) {
|
|
203
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
XMLDocument.prototype.adoptNode = function(source) {
|
|
207
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
XMLDocument.prototype.normalizeDocument = function() {
|
|
211
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
XMLDocument.prototype.renameNode = function(node, namespaceURI, qualifiedName) {
|
|
215
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
XMLDocument.prototype.getElementsByClassName = function(classNames) {
|
|
219
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
XMLDocument.prototype.createEvent = function(eventInterface) {
|
|
223
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
XMLDocument.prototype.createRange = function() {
|
|
227
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
XMLDocument.prototype.createNodeIterator = function(root, whatToShow, filter) {
|
|
231
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
XMLDocument.prototype.createTreeWalker = function(root, whatToShow, filter) {
|
|
235
|
+
throw new Error("This DOM method is not implemented." + this.debugInfo());
|
|
42
236
|
};
|
|
43
237
|
|
|
44
238
|
return XMLDocument;
|