simplify core-properties; add xsd comment

This commit is contained in:
Tom Hunkapiller
2021-05-26 09:27:05 +03:00
parent 60b7ce4785
commit e4709a7f8d
5 changed files with 62 additions and 105 deletions

View File

@ -52,3 +52,14 @@ export class NumberValueElement extends XmlComponent {
this.root.push(new Attributes({ val }));
}
}
// Simple nodes containing text.
//
// new StringContainer("hello", "world")
// <hello>world</hello>
export class StringContainer extends XmlComponent {
constructor(name: string, val: string) {
super(name);
this.root.push(val);
}
}