# Package net.sf.saxon.option.xom

This package provides glue classes that enable Saxon to process a source document supplied as a XOM tree (see http://www.cafeconleche.org/XOM).

The package provides implementations of the Saxon DocumentInfo and NodeInfo interfaces that act as wrappers to the relevant XOM classes.

Much of the implemention of this package was done by Wolfgang Hoschek, based on Michael Kay's similar package for JDOM.

- Class Summary
  Class | Description
  --- | ---
  XOMDocumentWrapper | The root node of an XPath tree.
  XOMNodeWrapper | A node in the XML parse tree representing an XML element, character content, or attribute.
  XOMObjectModel | This interface must be implemented by any third-party object model that can be wrapped with a wrapper that implements the Saxon Object Model (the NodeInfo interface).
  XomUriResolver | This class is a URI resolver that loads an XML document found at the relevant URI and builds a XOM tree from it; the XOM tree is then returned as a source object.
  XOMWriter | XOMWriter is a Receiver that constructs a XOM document from the stream of events