Code example for XmlPullParser

Methods: getLineNumber

    public String getText() {
        return mParser.getText();
    public int getLineNumber() { 
        return mParser.getLineNumber();
    public int getEventType() { 
        return mEventType;
    public boolean isWhitespace() throws XmlPullParserException { 
        // Original comment: whitespace was stripped by aapt. 
        return mParser.isWhitespace();
    public String getPrefix() {
        throw new RuntimeException("getPrefix not supported");
Connect your IDE to all the code out there  Get Codota for Java