UNPKG

isoxml-angular

Version:

JavaScript library to parse and generate ISOXML (ISO11783-10) files

24 lines (23 loc) 947 B
import { TAGS } from './constants'; import { ISOXMLManager } from '../ISOXMLManager'; import { XMLElement } from '../types'; import { OperationTechniqueReference } from './OperationTechniqueReference'; import { Entity, EntityConstructor } from '../types'; export type CulturalPracticeAttributes = { CulturalPracticeDesignator: string; OperationTechniqueReference?: OperationTechniqueReference[]; ProprietaryAttributes?: { [name: string]: string; }; ProprietaryTags?: { [tag: string]: XMLElement[]; }; }; export declare class CulturalPractice implements Entity { attributes: CulturalPracticeAttributes; isoxmlManager: ISOXMLManager; tag: TAGS; constructor(attributes: CulturalPracticeAttributes, isoxmlManager: ISOXMLManager); static fromXML(xml: XMLElement, isoxmlManager: ISOXMLManager, internalId?: string, targetClass?: EntityConstructor): Promise<Entity>; toXML(): XMLElement; }