UNPKG

typesxml

Version:

Open source XML library written in TypeScript

37 lines (36 loc) 1.31 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 { XMLNode } from "../XMLNode.js"; import { AttDecl } from "./AttDecl.js"; 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[]; private readAttributeType; private readParenthesized; private countParenthesis; private normalizeEnumeration; private isQuotedValue; private trimQuotes; private isValidAttributeType; private locateToken; private ensureSeparated; private containsWhitespace; getNodeType(): number; toString(): string; equals(node: XMLNode): boolean; }