... Section 3 – The Document Object Model (DOM) 9Section 3 – The Document Object Model (DOM) Dom, dom, dom, dom, dom, Doobie-doobie, Dom, dom, dom, dom, dom The DOM is a ... methods,parseAndPrint and printDOMTree.In the main method, we process the command line,create a domOne object, and pass the file name to the domOne object. The domOne object creates aparser object, ... null)printDOMTree(doc);Parse the XML document Parsing the document is done with a single line ofcode. When the parse is done, we get the Document object created by the parser.If the Document object...