private int nextTag() throws IOException
    {
        try
        {
            return parser.nextTag();
        }
        catch (XMLStreamException e)
        {
            throw new XmlInputException(e);
        }
    }
An input used for reading data with xml format.

@author David Yu
@created May 24, 2010
protostuff-xml/src/main/java/io/protostuff/XmlInput.java