main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
809 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import { ObjectElement } from '@swagger-api/apidom-core';
|
---|
| 2 | class Xml extends ObjectElement {
|
---|
| 3 | constructor(content, meta, attributes) {
|
---|
| 4 | super(content, meta, attributes);
|
---|
| 5 | this.element = 'xml';
|
---|
| 6 | }
|
---|
| 7 | get name() {
|
---|
| 8 | return this.get('name');
|
---|
| 9 | }
|
---|
| 10 | set name(name) {
|
---|
| 11 | this.set('name', name);
|
---|
| 12 | }
|
---|
| 13 | get namespace() {
|
---|
| 14 | return this.get('namespace');
|
---|
| 15 | }
|
---|
| 16 | set namespace(namespace) {
|
---|
| 17 | this.set('namespace', namespace);
|
---|
| 18 | }
|
---|
| 19 | get prefix() {
|
---|
| 20 | return this.get('prefix');
|
---|
| 21 | }
|
---|
| 22 | set prefix(prefix) {
|
---|
| 23 | this.set('prefix', prefix);
|
---|
| 24 | }
|
---|
| 25 | get attribute() {
|
---|
| 26 | return this.get('attribute');
|
---|
| 27 | }
|
---|
| 28 | set attribute(attribute) {
|
---|
| 29 | this.set('attribute', attribute);
|
---|
| 30 | }
|
---|
| 31 | get wrapped() {
|
---|
| 32 | return this.get('wrapped');
|
---|
| 33 | }
|
---|
| 34 | set wrapped(wrapped) {
|
---|
| 35 | this.set('wrapped', wrapped);
|
---|
| 36 | }
|
---|
| 37 | }
|
---|
| 38 | export default Xml; |
---|
Note:
See
TracBrowser
for help on using the repository browser.