javax.xml.parsers.DocumentBuilderFactory.newInstance()
creates a DocumentBuilderFactory
The factory's newBuilder()
method
creates a DocumentBuilder
The builder parses the document and returns a DOM
org.w3c.dom.Document
object.
The entire document is stored in memory.
DOM methods and interfaces are used to extract data from this object