Code example for XmlPullParser

Methods: getLineNumber

0
    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");
    }