isoxml-angular
Version:
JavaScript library to parse and generate ISOXML (ISO11783-10) files
26 lines (25 loc) • 1 kB
TypeScript
import { TAGS } from './constants';
import { ISOXMLManager } from '../ISOXMLManager';
import { XMLElement } from '../types';
import { AllocationStamp } from './AllocationStamp';
import { Entity, EntityConstructor, ISOXMLReference } from '../types';
export type CommentAllocationAttributes = {
CodedCommentIdRef?: ISOXMLReference;
CodedCommentListValueIdRef?: ISOXMLReference;
FreeCommentText?: string;
AllocationStamp?: AllocationStamp[];
ProprietaryAttributes?: {
[name: string]: string;
};
ProprietaryTags?: {
[tag: string]: XMLElement[];
};
};
export declare class CommentAllocation implements Entity {
attributes: CommentAllocationAttributes;
isoxmlManager: ISOXMLManager;
tag: TAGS;
constructor(attributes: CommentAllocationAttributes, isoxmlManager: ISOXMLManager);
static fromXML(xml: XMLElement, isoxmlManager: ISOXMLManager, internalId?: string, targetClass?: EntityConstructor): Promise<Entity>;
toXML(): XMLElement;
}