/** * Notify the beginning of a document. * * @throws DocumentException if anything went wrong */ public void notifyBeginDocument() throws DocumentException { for (SubtreeListener<? super E> listener : mListeners) { listener.startDocument(); } }