Node
is an interface from which various types of DOM API objects inherit, allowing those types to be treated similarly; for example, inheriting the same set of methods, or being testable in the same way.Node
interface's methods and properties: Document
, Element
, Attr
, CharacterData
(which Text
, Comment
, and CDATASection
inherit), ProcessingInstruction
, DocumentFragment
, DocumentType
, Notation
, Entity
, EntityReference
null
in certain cases where the methods and properties are not relevant. They may throw an exception — for example when adding children to a node type for which no children can exist.SuperNode implements all the properties and methods of the following classes: