The JAXP Process

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

  2. Configure the factory

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

  4. Configure the builder

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

  6. The entire document is stored in memory.

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

Previous | Next | Top | Cafe con Leche

Copyright 2000-2003 Elliotte Rusty Harold
Last Modified March 26, 2003