aboutsummaryrefslogtreecommitdiff
path: root/generator/node_modules/xmlbuilder/lib/XMLDOMImplementation.js
diff options
context:
space:
mode:
Diffstat (limited to 'generator/node_modules/xmlbuilder/lib/XMLDOMImplementation.js')
-rw-r--r--generator/node_modules/xmlbuilder/lib/XMLDOMImplementation.js55
1 files changed, 55 insertions, 0 deletions
diff --git a/generator/node_modules/xmlbuilder/lib/XMLDOMImplementation.js b/generator/node_modules/xmlbuilder/lib/XMLDOMImplementation.js
new file mode 100644
index 0000000..4b5be79
--- /dev/null
+++ b/generator/node_modules/xmlbuilder/lib/XMLDOMImplementation.js
@@ -0,0 +1,55 @@
+// Generated by CoffeeScript 2.4.1
+(function() {
+ // Implements the DOMImplementation interface
+ var XMLDOMImplementation;
+
+ module.exports = XMLDOMImplementation = class XMLDOMImplementation {
+ // Tests if the DOM implementation implements a specific feature.
+
+ // `feature` package name of the feature to test. In Level 1, the
+ // legal values are "HTML" and "XML" (case-insensitive).
+ // `version` version number of the package name to test.
+ // In Level 1, this is the string "1.0". If the version is
+ // not specified, supporting any version of the feature will
+ // cause the method to return true.
+ hasFeature(feature, version) {
+ return true;
+ }
+
+ // Creates a new document type declaration.
+
+ // `qualifiedName` qualified name of the document type to be created
+ // `publicId` public identifier of the external subset
+ // `systemId` system identifier of the external subset
+ createDocumentType(qualifiedName, publicId, systemId) {
+ throw new Error("This DOM method is not implemented.");
+ }
+
+ // Creates a new document.
+
+ // `namespaceURI` namespace URI of the document element to create
+ // `qualifiedName` the qualified name of the document to be created
+ // `doctype` the type of document to be created or null
+ createDocument(namespaceURI, qualifiedName, doctype) {
+ throw new Error("This DOM method is not implemented.");
+ }
+
+ // Creates a new HTML document.
+
+ // `title` document title
+ createHTMLDocument(title) {
+ throw new Error("This DOM method is not implemented.");
+ }
+
+ // Returns a specialized object which implements the specialized APIs
+ // of the specified feature and version.
+
+ // `feature` name of the feature requested.
+ // `version` version number of the feature to test
+ getFeature(feature, version) {
+ throw new Error("This DOM method is not implemented.");
+ }
+
+ };
+
+}).call(this);