_done = true;   _transformer.setDOM(_dom);
    public void endDocument() throws SAXException {	// Signal to the DOMBuilder that the document is complete	_handler.endDocument();	// Run the transformation now if we have a reference to a Result object	if (_result != null) {	    try {		_transformer.setDOM(_dom);		_transformer.setDTDMonitor(_dtd);	// for id/key		_transformer.transform(null, _result);	    }	    catch (TransformerException e) {		throw new SAXException(e);	    }	}	// Signal that the internal DOM is build (see 'setResult()').	_done = true;	// Set this DOM as the transformer's DOM	_transformer.setDOM(_dom);    }