2022-06-26 23:26:42 +01:00
|
|
|
import { XmlComponent } from "@file/xml-components";
|
2018-09-17 20:22:11 +01:00
|
|
|
|
|
|
|
export abstract class InitializableXmlComponent extends XmlComponent {
|
|
|
|
constructor(rootKey: string, initComponent?: InitializableXmlComponent) {
|
|
|
|
super(rootKey);
|
|
|
|
|
|
|
|
if (initComponent) {
|
|
|
|
this.root = initComponent.root;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|