Get the next event.
Note that a subclass that overrides this method is responsible for ensuring
that current() works properly. This can be achieved by setting the field
currentEvent to the event returned by any call on next().
an integer code indicating the type of event. The codeDocumentEventIgnorer.END_OF_INPUT is returned at the end of the sequence. |