Lines Matching refs:Entry
35 * where each list element represents a single entry (post) in the XML feed.
51 /** Parse an Atom feed, returning a collection of Entry objects.
54 * @return List of {@link com.example.android.basicsyncadapter.net.FeedParser.Entry} objects.
58 public List<Entry> parse(InputStream in)
75 * @return List of {@link com.example.android.basicsyncadapter.net.FeedParser.Entry} objects.
79 private List<Entry> readFeed(XmlPullParser parser)
81 List<Entry> entries = new ArrayList<Entry>();
96 // Starts by looking for the <entry> tag. This tag repeates inside of <feed> for each
100 // <entry>
112 // </entry>
113 if (name.equals("entry")) {
123 * Parses the contents of an entry. If it encounters a title, summary, or link tag, hands them
126 private Entry readEntry(XmlPullParser parser)
128 parser.require(XmlPullParser.START_TAG, ns, "entry");
163 return new Entry(id, title, link, publishedOn);
261 * This class represents a single entry (post) in the XML feed.
265 public static class Entry {
271 Entry(String id, String title, String link, long published) {