typesxml
Version:
Open source XML library written in TypeScript
38 lines (37 loc) • 1.38 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 EntityDecl implements XMLNode {
private name;
private parameterEntity;
private value;
private systemId;
private publicId;
private ndata;
private externalContentLoaded;
private unresolvedExternalError;
constructor(name: string, parameterEntity: boolean, value: string, systemId: string, publicId: string, ndata: string);
getName(): string;
getValue(): string;
setValue(value: string): void;
isExternalContentLoaded(): boolean;
markUnresolved(errorMessage: string): void;
getUnresolvedError(): string | null;
isParameterEntity(): boolean;
getSystemId(): string;
getPublicId(): string;
getNotationName(): string;
isExternal(): boolean;
getNodeType(): number;
toString(): string;
equals(node: XMLNode): boolean;
}