public int next() throws XMLStreamException { if (_repeatElement != 0) { return (_currentState = _handleRepeatElement()); } return _next(); }
public int next() throws IOException { if (_repeatElement != 0) { return (_currentState = _handleRepeatElement()); } try { return _next(); } catch (XMLStreamException e) { StaxUtil.throwXmlAsIOException(e); return -1; } }