The EntityReference objects are the generic entity references that are inserted into the XML document providing the purpose of replacing text. The EntityReference object does not work for default entities since they are considered expanded by the HTML or XML processor. This interface does not have properties or methods of its own but inherits from Node.
XML DOM: EntityReference Object
Understand how EntityReference objects in XML DOM serve as generic entity references that replace text during document processing, inheriting functionality from the Node interface.