UNPKG

typesxml

Version:

Open source XML library written in TypeScript

24 lines (23 loc) 903 B
/******************************************************************************* * 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"; export declare class AttDecl implements XMLNode { private name; private attType; private defaultDecl; private defaultValue; constructor(name: string, attType: string, defaultDecl: string, defaultValue: string); getNodeType(): number; equals(node: XMLNode): boolean; toString(): string; isValid(value: string): boolean; }