13 lines
420 B
TypeScript
13 lines
420 B
TypeScript
import { BaseXmlComponent } from "./base";
|
|
import { IXmlableObject } from "./xmlable-object";
|
|
export declare type AttributeMap<T> = {
|
|
[P in keyof T]: string;
|
|
};
|
|
export declare abstract class XmlAttributeComponent<T> extends BaseXmlComponent {
|
|
protected root: T;
|
|
protected xmlKeys: AttributeMap<T>;
|
|
constructor(properties: T);
|
|
prepForXml(): IXmlableObject;
|
|
set(properties: T): void;
|
|
}
|