typesxml
Version:
Open source XML library written in TypeScript
28 lines (27 loc) • 1.05 kB
TypeScript
/*******************************************************************************
* Copyright (c) 2023-2026 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.js";
export declare class XMLDeclaration implements XMLNode {
private version;
private encoding;
private standalone;
constructor(version: string, encoding: string, standalone?: string);
getVersion(): string;
setVersion(version: string): void;
getEncoding(): string;
setEncoding(encoding: string): void;
getStandalone(): string | undefined;
setStandalone(standalone: string): void;
getNodeType(): number;
toString(): string;
equals(node: XMLNode): boolean;
}