Code example for XmlPullParser

Methods: getNamegetNamespacegetPrefix

        // Make sure we end at item tag 
        parser.require(XmlPullParser.END_TAG, "", RSS.ITEM);
    private boolean isContentEncodedTag(XmlPullParser parser) {
        return RSS.CONTENT_ENCODED.equals(parser.getName()) &&
    private URL createMediaUrl(String url) {
        try { 
            return new URL(url);
        } catch (MalformedURLException e) {
            Log.e(getClass().getSimpleName(), "Episode has invalid URL", e);
        return null; 
    private Date parsePubDate(String value) {
Connect your IDE to all the code out there  Get Codota for Java