package.cjs.elements.Xml.cjs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apidom-ns-openapi-3-0 Show documentation
Show all versions of apidom-ns-openapi-3-0 Show documentation
OpenAPI 3.0.x namespace for ApiDOM.
"use strict";
exports.__esModule = true;
exports.default = void 0;
var _apidomCore = require("@swagger-api/apidom-core");
class Xml extends _apidomCore.ObjectElement {
constructor(content, meta, attributes) {
super(content, meta, attributes);
this.element = 'xml';
}
get name() {
return this.get('name');
}
set name(name) {
this.set('name', name);
}
get namespace() {
return this.get('namespace');
}
set namespace(namespace) {
this.set('namespace', namespace);
}
get prefix() {
return this.get('prefix');
}
set prefix(prefix) {
this.set('prefix', prefix);
}
get attribute() {
return this.get('attribute');
}
set attribute(attribute) {
this.set('attribute', attribute);
}
get wrapped() {
return this.get('wrapped');
}
set wrapped(wrapped) {
this.set('wrapped', wrapped);
}
}
var _default = exports.default = Xml;