FileDocCategorySizeDatePackage
XmlMediaEntryGDataParser.javaAPI DocAndroid 1.5 API1335Wed May 06 22:41:16 BST 2009com.google.wireless.gdata.parser.xml

XmlMediaEntryGDataParser

public class XmlMediaEntryGDataParser extends XmlGDataParser
GDataParser for a MediaEntry. This must only be used to parse an entry, not a feed, since there is no such thing as a feed of media entries.

Fields Summary
Constructors Summary
public XmlMediaEntryGDataParser(InputStream is, XmlPullParser parser)
Creates a new XmlMediaEntryGDataParser.

param
is The InputStream that should be parsed.
param
parser the XmlPullParser to use for the xml parsing
throws
com.google.wireless.gdata.parser.ParseException Thrown if a parser cannot be created.

    super(is, parser);
  
Methods Summary
protected com.google.wireless.gdata.data.EntrycreateEntry()

    return new MediaEntry();
  
protected com.google.wireless.gdata.data.FeedcreateFeed()

    throw new UnsupportedOperationException("there is no such thing as a feed of media entries");