typesxml
Version:
Open source XML library written in TypeScript
29 lines (28 loc) • 1.08 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 XMLDocumentType implements XMLNode {
private name;
private systemId;
private publicId;
private internalSubset;
constructor(name: string, publicId: string, systemId: string);
setSystemId(systemId: string): void;
getSystemId(): string;
setPublicId(publicId: string): void;
getPublicId(): string;
setInternalSubset(subset: string): void;
getInternalSubset(): string | undefined;
getNodeType(): number;
toString(): string;
equals(node: XMLNode): boolean;
}