2016-03-31 23:01:20 +01:00
|
|
|
import {XmlComponent, Attributes} from "../xml-components";
|
2016-03-31 23:03:16 +01:00
|
|
|
import {Body} from "./body";
|
2016-03-31 23:01:20 +01:00
|
|
|
|
|
|
|
export class Document {
|
|
|
|
private document: Array<XmlComponent>;
|
|
|
|
|
|
|
|
constructor() {
|
|
|
|
this.document = new Array<XmlComponent>();
|
|
|
|
this.document.push(new Attributes({}));
|
2016-03-31 23:03:16 +01:00
|
|
|
this.document.push(new Body());
|
2016-03-31 23:01:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
test() {
|
|
|
|
return "hello";
|
|
|
|
}
|
|
|
|
}
|