typesxml
Version:
Open source XML library written in TypeScript
24 lines (23 loc) • 876 B
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 ElementDecl implements XMLNode {
private name;
contentSpec: string;
constructor(name: string, contentSpec: string);
validateContentSpec(): void;
getName(): string;
getContentSpec(): string;
getNodeType(): number;
toString(): string;
equals(node: XMLNode): boolean;
}