# OHOS::UIDumpDomTree ## **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

Public Member Function Name

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

Static Public Member Function Name

Description

GetInstance ()

static UIDumpDomTree

Obtains an instance in singleton pattern.