javax.xml.parsers.DocumentBuilderFactory.newInstance()
creates a DocumentBuilderFactory
Configure the factory
The factory's newBuilder()
method
creates a DocumentBuilder
Configure the builder
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