question: private String readText ( String name ) throws IOException , XmlPullParserException { parser . require ( XmlPullParser . START_TAG , null , name ) ; String text = "" ; if ( parser . next ( ) == XmlPullParser . TEXT ) { text = parser . getText ( ) ; parser . nextTag ( ) ; } parser . require ( XmlPullParser . END_TAG , null , name ) ; return text ; }
target:  Reads the contents of a tag by the specified name at the current parser position.