UNPKG

typesxml

Version:

Open source XML library written in TypeScript

27 lines (26 loc) 1.17 kB
/******************************************************************************* * Copyright (c) 2023-2026 Maxprograms. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 1.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/org/documents/epl-v10.html * * Contributors: * Maxprograms - initial API and implementation *******************************************************************************/ import { Cardinality } from "./ContentModel.js"; import { ContentParticle, ContentParticleType } from "./contentParticle.js"; export declare class DTDName implements ContentParticle { private name; private cardinality; constructor(name: string); getName(): string; getType(): typeof ContentParticleType[keyof typeof ContentParticleType]; addParticle(particle: ContentParticle): void; getParticles(): Array<ContentParticle>; getChildren(): Set<string>; getCardinality(): typeof Cardinality[keyof typeof Cardinality]; setCardinality(cardinality: typeof Cardinality[keyof typeof Cardinality]): void; toString(): string; }