This method of the XMLInputStream class retrieves the next Unicode character in the input stream. The read operation performed depends on the current read state.
public int read() throws IOException;
Returns the next Unicode character in the stream.
IOException if an I/O error occurs.