@Override public boolean hasText(){
  log.log(Level.FINE,"hasText()");
  return event == CHARACTERS || event == ENTITY_REFERENCE;
}

@ Override public boolean hasText ( ) { log . log ( Level . FINE , "hasText()" ) ; return event == CHARACTERS || event == ENTITY_REFERENCE ; }
return true if the current event has text , false otherwise the following events have text : characters , dtd , entity_reference , comment , space
