AntDomElement () { findNextAntElement(); if (myUnprocessedElement == null) { throw new NoSuchElementException(); } final AntDomElement antElement = (AntDomElement)myUnprocessedElement; myUnprocessedElement = null; return antElement; }