The JAXP Process

  1. javax.xml.parsers.DocumentBuilderFactory.newInstance() creates a DocumentBuilderFactory

  2. The factory's newBuilder() method creates a DocumentBuilder

  3. The builder parses the document and returns a DOM org.w3c.dom.Document object.

  4. The entire document is stored in memory.

  5. DOM methods and interfaces are used to extract data from this object


Previous | Next | Top | Cafe con Leche

Copyright 2000-2002 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified April 5, 2002