# OHOS::UIDumpDomTree - [Overview](#section1195032736165635) - [Summary](#section1107489991165635) - [Public Member Functions](#pub-methods) - [Static Public Member Functions](#pub-static-methods) ## **Overview** **Related Modules:** [Graphic](Graphic.md) **Description:** Provides functions for exporting information about a specified DOM node or information about the DOM tree starting from a specified DOM node. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Public Member Functions

Function

Description

DumpDomTree (const char *id, const char *path)

bool

Exports information about a DOM tree starting from a specified DOM node and saves the information to a specified path.

DumpDomTree (const char *id)

bool

Exports information about a DOM tree starting from a specified DOM node and saves the information to the default path. The default path is DEFAULT_DUMP_DOM_TREE_PATH.

DumpDomNode (const char *id)

char *

Exports information about a specified DOM node.

operator new (size_t size)

void *

Overrides the new function.

operator delete (void *p)

void

Overrides the delete function.

## Static Public Member Functions

Function

Description

GetInstance ()

static UIDumpDomTree *

Obtains an instance in singleton pattern.