UNPKG

typesxml

Version:

Open source XML library written in TypeScript

27 lines (26 loc) 1 kB
/******************************************************************************* * Copyright (c) 2023 - 2024 Maxprograms. * * This program and the accompanying materials * are made available under the terms of the Eclipse 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 { XMLNode } from "../XMLNode"; import { AttDecl } from "./AttDecl"; export declare class AttListDecl implements XMLNode { private name; private attributes; static readonly attTypes: string[]; constructor(name: string, attributesText: string); getName(): string; getAttributes(): Map<string, AttDecl>; parseAttributes(text: string): void; split(text: string): string[]; getNodeType(): number; toString(): string; equals(node: XMLNode): boolean; }