UNPKG

@interoperability/atna-audit-messages

Version:

The ATNA Audit Messages Generator is a JavaScript library that provides a set of reusable static methods for generating Audit Trail and Node Authentication (ATNA) compliant audit messages. This library is particularly useful in healthcare systems and othe

20 lines (19 loc) 451 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TextElement = void 0; var _XMLElement = require("./XMLElement.js"); /** * Represents a text element that extends XMLElement. */ class TextElement extends _XMLElement.XMLElement { /** * @param {string} text - The text content of the element. */ constructor(text) { super('text'); this.setText(text); } } exports.TextElement = TextElement;