typesxml
Version:
Open source XML library written in TypeScript
33 lines (32 loc) • 1.17 kB
TypeScript
/*******************************************************************************
* 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";
export declare class AttDecl implements XMLNode {
private name;
private attType;
private defaultDecl;
private defaultValue;
private enumeration;
private notationValues;
constructor(name: string, attType: string, defaultDecl: string, defaultValue: string);
getName(): string;
getType(): string;
getDefaultDecl(): string;
getDefaultValue(): string;
getNodeType(): number;
equals(node: XMLNode): boolean;
toString(): string;
isValid(value: string): boolean;
private parseNotationType;
private parseEnumerationValues;
getEnumeration(): string[];
}