@zowe/cics-for-zowe-cli 6.2.2 → 6.2.3
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/npm-shrinkwrap.json +6 -10
- package/package.json +1 -4
- package/node_modules/@zowe/cics-for-zowe-sdk/LICENSE +0 -277
- package/node_modules/@zowe/cics-for-zowe-sdk/README.md +0 -161
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.d.ts +0 -84
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.js +0 -91
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.messages.d.ts +0 -17
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.messages.js +0 -22
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.messages.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/index.d.ts +0 -12
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/index.js +0 -29
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIApiResponse.d.ts +0 -33
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIApiResponse.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIApiResponse.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIResponseResultSummary.d.ts +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIResponseResultSummary.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIResponseResultSummary.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICSDGroupParms.d.ts +0 -30
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICSDGroupParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICSDGroupParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICacheParms.d.ts +0 -17
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICacheParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICacheParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IGetResourceUriOptions.d.ts +0 -42
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IGetResourceUriOptions.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IGetResourceUriOptions.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IProgramParms.d.ts +0 -30
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IProgramParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IProgramParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceParms.d.ts +0 -17
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceQueryParms.d.ts +0 -24
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceQueryParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceQueryParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResultCacheParms.d.ts +0 -21
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResultCacheParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResultCacheParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ITransactionParms.d.ts +0 -35
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ITransactionParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ITransactionParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IURIMapParms.d.ts +0 -89
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IURIMapParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IURIMapParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IWebServiceParms.d.ts +0 -55
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IWebServiceParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IWebServiceParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.d.ts +0 -22
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.js +0 -39
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.d.ts +0 -15
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.js +0 -32
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/AddToList.d.ts +0 -23
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/AddToList.js +0 -57
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/AddToList.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/cache/Cache.d.ts +0 -14
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/cache/Cache.js +0 -30
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/cache/Cache.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/cache/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/cache/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/cache/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/Define.d.ts +0 -85
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/Define.js +0 -301
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/Define.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/Delete.d.ts +0 -58
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/Delete.js +0 -120
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/Delete.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/Disable.d.ts +0 -24
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/Disable.js +0 -53
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/Disable.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/Discard.d.ts +0 -35
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/Discard.js +0 -77
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/Discard.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/Enable.d.ts +0 -24
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/Enable.js +0 -53
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/Enable.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/Get.d.ts +0 -23
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/Get.js +0 -41
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/Get.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/index.d.ts +0 -21
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/index.js +0 -38
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/Install.d.ts +0 -48
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/Install.js +0 -123
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/Install.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/RemoveFromList.d.ts +0 -23
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/RemoveFromList.js +0 -42
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/RemoveFromList.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/Set.d.ts +0 -23
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/Set.js +0 -50
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/Set.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestClient.d.ts +0 -128
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestClient.js +0 -220
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestClient.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/Utils.d.ts +0 -27
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/Utils.js +0 -80
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/Utils.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/package.json +0 -54
- package/node_modules/sax/LICENSE +0 -41
- package/node_modules/sax/README.md +0 -228
- package/node_modules/sax/lib/sax.js +0 -1597
- package/node_modules/sax/package.json +0 -29
- package/node_modules/xml2js/LICENSE +0 -19
- package/node_modules/xml2js/README.md +0 -507
- package/node_modules/xml2js/lib/bom.js +0 -12
- package/node_modules/xml2js/lib/builder.js +0 -127
- package/node_modules/xml2js/lib/defaults.js +0 -72
- package/node_modules/xml2js/lib/parser.js +0 -385
- package/node_modules/xml2js/lib/processors.js +0 -34
- package/node_modules/xml2js/lib/xml2js.js +0 -39
- package/node_modules/xml2js/node_modules/xmlbuilder/CHANGELOG.md +0 -470
- package/node_modules/xml2js/node_modules/xmlbuilder/LICENSE +0 -21
- package/node_modules/xml2js/node_modules/xmlbuilder/README.md +0 -86
- package/node_modules/xml2js/node_modules/xmlbuilder/appveyor.yml +0 -20
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/Derivation.js +0 -10
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js +0 -23
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/OperationType.js +0 -11
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js +0 -83
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js +0 -10
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -108
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js +0 -36
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -79
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js +0 -36
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -64
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -16
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -32
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -28
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -55
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -38
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -97
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -52
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -43
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js +0 -186
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js +0 -242
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -528
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -24
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js +0 -31
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js +0 -298
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -58
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js +0 -785
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -48
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -28
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -49
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js +0 -35
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -176
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -35
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -240
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js +0 -69
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -21
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -16
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -428
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/index.js +0 -65
- package/node_modules/xml2js/node_modules/xmlbuilder/package.json +0 -39
- package/node_modules/xml2js/node_modules/xmlbuilder/typings/index.d.ts +0 -153
- package/node_modules/xml2js/package.json +0 -93
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
// Generated by CoffeeScript 1.12.7
|
|
2
|
-
(function() {
|
|
3
|
-
var NodeType, XMLDTDNotation, XMLNode,
|
|
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
|
-
hasProp = {}.hasOwnProperty;
|
|
6
|
-
|
|
7
|
-
XMLNode = require('./XMLNode');
|
|
8
|
-
|
|
9
|
-
NodeType = require('./NodeType');
|
|
10
|
-
|
|
11
|
-
module.exports = XMLDTDNotation = (function(superClass) {
|
|
12
|
-
extend(XMLDTDNotation, superClass);
|
|
13
|
-
|
|
14
|
-
function XMLDTDNotation(parent, name, value) {
|
|
15
|
-
XMLDTDNotation.__super__.constructor.call(this, parent);
|
|
16
|
-
if (name == null) {
|
|
17
|
-
throw new Error("Missing DTD notation name. " + this.debugInfo(name));
|
|
18
|
-
}
|
|
19
|
-
if (!value.pubID && !value.sysID) {
|
|
20
|
-
throw new Error("Public or system identifiers are required for an external entity. " + this.debugInfo(name));
|
|
21
|
-
}
|
|
22
|
-
this.name = this.stringify.name(name);
|
|
23
|
-
this.type = NodeType.NotationDeclaration;
|
|
24
|
-
if (value.pubID != null) {
|
|
25
|
-
this.pubID = this.stringify.dtdPubID(value.pubID);
|
|
26
|
-
}
|
|
27
|
-
if (value.sysID != null) {
|
|
28
|
-
this.sysID = this.stringify.dtdSysID(value.sysID);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
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
|
-
|
|
44
|
-
XMLDTDNotation.prototype.toString = function(options) {
|
|
45
|
-
return this.options.writer.dtdNotation(this, this.options.writer.filterOptions(options));
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
return XMLDTDNotation;
|
|
49
|
-
|
|
50
|
-
})(XMLNode);
|
|
51
|
-
|
|
52
|
-
}).call(this);
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
// Generated by CoffeeScript 1.12.7
|
|
2
|
-
(function() {
|
|
3
|
-
var NodeType, XMLDeclaration, XMLNode, isObject,
|
|
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
|
-
hasProp = {}.hasOwnProperty;
|
|
6
|
-
|
|
7
|
-
isObject = require('./Utility').isObject;
|
|
8
|
-
|
|
9
|
-
XMLNode = require('./XMLNode');
|
|
10
|
-
|
|
11
|
-
NodeType = require('./NodeType');
|
|
12
|
-
|
|
13
|
-
module.exports = XMLDeclaration = (function(superClass) {
|
|
14
|
-
extend(XMLDeclaration, superClass);
|
|
15
|
-
|
|
16
|
-
function XMLDeclaration(parent, version, encoding, standalone) {
|
|
17
|
-
var ref;
|
|
18
|
-
XMLDeclaration.__super__.constructor.call(this, parent);
|
|
19
|
-
if (isObject(version)) {
|
|
20
|
-
ref = version, version = ref.version, encoding = ref.encoding, standalone = ref.standalone;
|
|
21
|
-
}
|
|
22
|
-
if (!version) {
|
|
23
|
-
version = '1.0';
|
|
24
|
-
}
|
|
25
|
-
this.type = NodeType.Declaration;
|
|
26
|
-
this.version = this.stringify.xmlVersion(version);
|
|
27
|
-
if (encoding != null) {
|
|
28
|
-
this.encoding = this.stringify.xmlEncoding(encoding);
|
|
29
|
-
}
|
|
30
|
-
if (standalone != null) {
|
|
31
|
-
this.standalone = this.stringify.xmlStandalone(standalone);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
XMLDeclaration.prototype.toString = function(options) {
|
|
36
|
-
return this.options.writer.declaration(this, this.options.writer.filterOptions(options));
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
return XMLDeclaration;
|
|
40
|
-
|
|
41
|
-
})(XMLNode);
|
|
42
|
-
|
|
43
|
-
}).call(this);
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
// Generated by CoffeeScript 1.12.7
|
|
2
|
-
(function() {
|
|
3
|
-
var NodeType, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDocType, XMLNamedNodeMap, XMLNode, isObject,
|
|
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
|
-
hasProp = {}.hasOwnProperty;
|
|
6
|
-
|
|
7
|
-
isObject = require('./Utility').isObject;
|
|
8
|
-
|
|
9
|
-
XMLNode = require('./XMLNode');
|
|
10
|
-
|
|
11
|
-
NodeType = require('./NodeType');
|
|
12
|
-
|
|
13
|
-
XMLDTDAttList = require('./XMLDTDAttList');
|
|
14
|
-
|
|
15
|
-
XMLDTDEntity = require('./XMLDTDEntity');
|
|
16
|
-
|
|
17
|
-
XMLDTDElement = require('./XMLDTDElement');
|
|
18
|
-
|
|
19
|
-
XMLDTDNotation = require('./XMLDTDNotation');
|
|
20
|
-
|
|
21
|
-
XMLNamedNodeMap = require('./XMLNamedNodeMap');
|
|
22
|
-
|
|
23
|
-
module.exports = XMLDocType = (function(superClass) {
|
|
24
|
-
extend(XMLDocType, superClass);
|
|
25
|
-
|
|
26
|
-
function XMLDocType(parent, pubID, sysID) {
|
|
27
|
-
var child, i, len, ref, ref1, ref2;
|
|
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
|
-
}
|
|
40
|
-
this.documentObject = parent;
|
|
41
|
-
if (isObject(pubID)) {
|
|
42
|
-
ref1 = pubID, pubID = ref1.pubID, sysID = ref1.sysID;
|
|
43
|
-
}
|
|
44
|
-
if (sysID == null) {
|
|
45
|
-
ref2 = [pubID, sysID], sysID = ref2[0], pubID = ref2[1];
|
|
46
|
-
}
|
|
47
|
-
if (pubID != null) {
|
|
48
|
-
this.pubID = this.stringify.dtdPubID(pubID);
|
|
49
|
-
}
|
|
50
|
-
if (sysID != null) {
|
|
51
|
-
this.sysID = this.stringify.dtdSysID(sysID);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
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
|
-
|
|
103
|
-
XMLDocType.prototype.element = function(name, value) {
|
|
104
|
-
var child;
|
|
105
|
-
child = new XMLDTDElement(this, name, value);
|
|
106
|
-
this.children.push(child);
|
|
107
|
-
return this;
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
XMLDocType.prototype.attList = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) {
|
|
111
|
-
var child;
|
|
112
|
-
child = new XMLDTDAttList(this, elementName, attributeName, attributeType, defaultValueType, defaultValue);
|
|
113
|
-
this.children.push(child);
|
|
114
|
-
return this;
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
XMLDocType.prototype.entity = function(name, value) {
|
|
118
|
-
var child;
|
|
119
|
-
child = new XMLDTDEntity(this, false, name, value);
|
|
120
|
-
this.children.push(child);
|
|
121
|
-
return this;
|
|
122
|
-
};
|
|
123
|
-
|
|
124
|
-
XMLDocType.prototype.pEntity = function(name, value) {
|
|
125
|
-
var child;
|
|
126
|
-
child = new XMLDTDEntity(this, true, name, value);
|
|
127
|
-
this.children.push(child);
|
|
128
|
-
return this;
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
XMLDocType.prototype.notation = function(name, value) {
|
|
132
|
-
var child;
|
|
133
|
-
child = new XMLDTDNotation(this, name, value);
|
|
134
|
-
this.children.push(child);
|
|
135
|
-
return this;
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
XMLDocType.prototype.toString = function(options) {
|
|
139
|
-
return this.options.writer.docType(this, this.options.writer.filterOptions(options));
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
XMLDocType.prototype.ele = function(name, value) {
|
|
143
|
-
return this.element(name, value);
|
|
144
|
-
};
|
|
145
|
-
|
|
146
|
-
XMLDocType.prototype.att = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) {
|
|
147
|
-
return this.attList(elementName, attributeName, attributeType, defaultValueType, defaultValue);
|
|
148
|
-
};
|
|
149
|
-
|
|
150
|
-
XMLDocType.prototype.ent = function(name, value) {
|
|
151
|
-
return this.entity(name, value);
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
XMLDocType.prototype.pent = function(name, value) {
|
|
155
|
-
return this.pEntity(name, value);
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
XMLDocType.prototype.not = function(name, value) {
|
|
159
|
-
return this.notation(name, value);
|
|
160
|
-
};
|
|
161
|
-
|
|
162
|
-
XMLDocType.prototype.up = function() {
|
|
163
|
-
return this.root() || this.documentObject;
|
|
164
|
-
};
|
|
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
|
-
|
|
182
|
-
return XMLDocType;
|
|
183
|
-
|
|
184
|
-
})(XMLNode);
|
|
185
|
-
|
|
186
|
-
}).call(this);
|
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
// Generated by CoffeeScript 1.12.7
|
|
2
|
-
(function() {
|
|
3
|
-
var NodeType, XMLDOMConfiguration, XMLDOMImplementation, XMLDocument, XMLNode, XMLStringWriter, XMLStringifier, isPlainObject,
|
|
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
|
-
hasProp = {}.hasOwnProperty;
|
|
6
|
-
|
|
7
|
-
isPlainObject = require('./Utility').isPlainObject;
|
|
8
|
-
|
|
9
|
-
XMLDOMImplementation = require('./XMLDOMImplementation');
|
|
10
|
-
|
|
11
|
-
XMLDOMConfiguration = require('./XMLDOMConfiguration');
|
|
12
|
-
|
|
13
|
-
XMLNode = require('./XMLNode');
|
|
14
|
-
|
|
15
|
-
NodeType = require('./NodeType');
|
|
16
|
-
|
|
17
|
-
XMLStringifier = require('./XMLStringifier');
|
|
18
|
-
|
|
19
|
-
XMLStringWriter = require('./XMLStringWriter');
|
|
20
|
-
|
|
21
|
-
module.exports = XMLDocument = (function(superClass) {
|
|
22
|
-
extend(XMLDocument, superClass);
|
|
23
|
-
|
|
24
|
-
function XMLDocument(options) {
|
|
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();
|
|
30
|
-
options || (options = {});
|
|
31
|
-
if (!options.writer) {
|
|
32
|
-
options.writer = new XMLStringWriter();
|
|
33
|
-
}
|
|
34
|
-
this.options = options;
|
|
35
|
-
this.stringify = new XMLStringifier(options);
|
|
36
|
-
}
|
|
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
|
-
|
|
134
|
-
XMLDocument.prototype.end = function(writer) {
|
|
135
|
-
var writerOptions;
|
|
136
|
-
writerOptions = {};
|
|
137
|
-
if (!writer) {
|
|
138
|
-
writer = this.options.writer;
|
|
139
|
-
} else if (isPlainObject(writer)) {
|
|
140
|
-
writerOptions = writer;
|
|
141
|
-
writer = this.options.writer;
|
|
142
|
-
}
|
|
143
|
-
return writer.document(this, writer.filterOptions(writerOptions));
|
|
144
|
-
};
|
|
145
|
-
|
|
146
|
-
XMLDocument.prototype.toString = function(options) {
|
|
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());
|
|
236
|
-
};
|
|
237
|
-
|
|
238
|
-
return XMLDocument;
|
|
239
|
-
|
|
240
|
-
})(XMLNode);
|
|
241
|
-
|
|
242
|
-
}).call(this);
|