@Override public boolean hasNext() throws XMLStreamException {
  log.log(Level.FINE,"hasNext(): {0}",event != END_DOCUMENT);
  return event != END_DOCUMENT;
}

@ Override public boolean hasNext ( ) throws XMLStreamException { log . log ( Level . FINE , "hasNext(): {0}" , event != END_DOCUMENT ) ; return event != END_DOCUMENT ; }
returns true if there are more parsing events and false if there are no more events . this method will return false if the current state of the xmlstreamreader is end_document
