Class TreeBuilder

java.lang.Object
nu.validator.saxtree.TreeBuilder
All Implemented Interfaces:
ContentHandler, LexicalHandler

public class TreeBuilder extends Object implements ContentHandler, LexicalHandler
Builds a SAX Tree representation of a document or a fragment streamed as ContentHandler and LexicalHandler events. The start/end event matching is expected to adhere to the SAX API contract. Things will simply break if this is not the case. Fragments are expected to omit startDocument() and endDocument() calls.
Version:
$Id$