That means that an implementation need only expose methods with the defined names and specified operation, not implement classes that correspond directly to the interfaces.
objects that also implement other, more specialized interfaces.
Some types of nodes may have child nodes of various types, and others are leaf nodes that cannot have anything below them in the document structure.
The conventional solution to this in object-oriented design is to define interface; this is because all DOM objects live in the context of a specific Document.
The Core DOM APIs are designed to be compatible with a wide range of languages, including both general-user scripting languages and the more challenging languages used mostly by professional programmers.