DoxygenXmlParser class
XML parser for Doxygen-generated documentation files.
Signature
export declare class DoxygenXmlParser
Remarks
This class initialises the XML parser with options that preserve the order and structure of the original XML content, ensuring accurate conversion for documentation purposes. It maintains a counter for the number of files parsed and stores the resulting data model.
The parser is configured to handle Doxygen's specific XML format whilst maintaining fidelity to the source structure and content organisation.
Example
const parser = new DoxygenXmlParser({ options });
const dataModel = await parser.parse();
Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructs a new instance of the DoxygenXmlParser class. |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
Collection of image references extracted during XML parsing. | |||
|
The global configuration options for the parsing operation. | |||
|
XMLParser |
The XML parser instance configured specifically for Doxygen XML format. |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Retrieves the value of a named attribute as a boolean. | ||
|
Retrieves the value of a named attribute as a number. | ||
|
Retrieves the names of all attributes present on the specified XML element. | ||
|
Retrieves the value of a named attribute as a string. | ||
|
Retrieves the boolean value of a named child element. | ||
|
Retrieves the numeric value of a named child element. | ||
|
Retrieves an array of named child elements from the given XML element. | ||
|
Retrieves the text content of a named child element. | ||
|
Retrieves the text content of the XML element. | ||
|
Determines whether the specified attribute exists on the given XML element. | ||
|
Determines whether the specified XML element has any attributes. | ||
|
Determines whether the specified inner element exists on the given XML element. | ||
|
Determines whether the XML element contains a text node. | ||
|
Determines whether a named inner element contains text. |
Generated via tsdoc2docusaurus 1.3.0 by API Extractor/Documenter 7.52.8.