private void skipWhitespaces(final XMLEventReader paramReader) throws XMLStreamException {
        while (paramReader.peek().getEventType() == XMLStreamConstants.CHARACTERS
            && paramReader.peek().asCharacters().isWhiteSpace()) {
            paramReader.nextEvent();
        }
    }
private void skipWhitespaces ( final XMLEventReader paramReader ) throws XMLStreamException { while ( paramReader . peek ( ) . getEventType ( ) == XMLStreamConstants . CHARACTERS && paramReader . peek ( ) . asCharacters ( ) . isWhiteSpace ( ) ) { paramReader . nextEvent ( ) ; } }
Skip any whitespace event.

@param paramReader
the StAX {@link XMLEventReader} to use
@throws XMLStreamException
if any parsing error occurs while moving the StAX parser