tables: add option to pass column size when creating a table

- add optionto the XmlComponent to `delete`/skip elements when exporting to xml
This commit is contained in:
Igor Bulovski
2018-04-26 14:16:02 +02:00
parent e67f5f80e1
commit dc136daeab
5 changed files with 63 additions and 15 deletions

View File

@ -2,10 +2,15 @@ import { IXmlableObject } from "./xmlable-object";
export abstract class BaseXmlComponent {
protected rootKey: string;
protected deleted: boolean = false;
constructor(rootKey: string) {
this.rootKey = rootKey;
}
public abstract prepForXml(): IXmlableObject;
get isDeleted() {
return this.deleted;
}
}