com.google.gdata.data
Interface Extension

All Known Subinterfaces:
Box, Point, ValidatingExtension
All Known Implementing Classes:
AbstractExtension, AbstractFreeTextExtension, AbstractMediaResource, AbstractTextElement, AccessLevelProperty, AclEntry, AclFeed, AclRole, AclScope, AlbumEntry, AlbumFeed, AttendeeEntry, AttendeeFeed, AttributeHistogram, BaseEntry, BaseEventEntry, BaseEventEntry.EventStatus, BaseEventEntry.Transparency, BaseEventEntry.Visibility, BaseEventFeed, BaseFeed, BaseHealthEntry, BaseHealthFeed, BatchId, BatchInterrupted, BatchOperation, BatchStatus, BlogCommentFeed, BlogEntry, BlogFeed, BlogPostFeed, BoolValueConstruct, CalendarAclEntry, CalendarEntry, CalendarEventEntry, CalendarEventFeed, CalendarFeed, Categories, Cell, CellEntry, CellFeed, CodeSearchEntry, CodeSearchFeed, ColCount, Collection, CollectionEntry, CollectionFeed, ColorProperty, CommentEntry, CommentEntry, CommentEntry, CommentFeed, Comments, Commission, ComplaintEntry, ComplaintFeed, ContactEntry, ContactEntry, ContactFeed, ContactFeed, ContactGroupEntry, ContactGroupFeed, ContinuityOfCareRecord, CostBasis, CrawlIssueCrawlType, CrawlIssueDateDetected, CrawlIssueDetail, CrawlIssueEntry, CrawlIssueIssueType, CrawlIssueLinkedFromUrl, CrawlIssuesFeed, CrawlIssueUrl, CrawlRateConstruct, Creator, CustomElementCollection, Date, DateTimeValueConstruct, DaysGain, Deleted, Description, DocumentEntry, DocumentListAclFeedLink, DocumentListEntry, DocumentListFeed, DomainPreferenceConstruct, Email, Email, EmailList, EmailListEntry, EmailListFeed, EmailListRecipientEntry, EmailListRecipientFeed, Embeddability, Entry, EntryLink, EnumConstruct, EventEntry, EventFeed, EventWho, ExifTag, ExifTags, ExtendedProperty, ExtensionDescription, ExtensionPoint, Extensions.GphotoAlbumId, Extensions.GphotoCommentCount, Extensions.GphotoCommentsEnabled, Extensions.GphotoConstruct, Extensions.GphotoNickname, Extensions.GphotoPhotoId, Extensions.GphotoThumbnail, Extensions.GphotoTimestamp, Extensions.GphotoUsername, Extensions.GphotoVersion, Feed, FeedLink, FeedLinkEntry, File, FolderEntry, Format, FriendEntry, FriendFeed, Gain, Gender, GenericEntry, GenericFeed, GeoLat, GeoLong, GeoPt, GeoRssBox, GeoRssPoint, GeoRssWhere, GmAttributes, GmDisapproved, GmItemType, GmlEnvelope, GmlLowerCorner, GmlPoint, GmlPos, GmlUpperCorner, GmPublishingPriority, GoogleBaseAttributesExtension, GoogleBaseEntry, GoogleBaseFeed, GoogleBaseMediaEntry, GoogleBaseMediaFeed, GphotoAccess, GphotoBytesUsed, GphotoCommentCount, GphotoCommentsEnabled, GphotoDataImpl.GphotoRssLink, GphotoDataImpl.GphotoType, GphotoEntry, GphotoFeed, GphotoId, GphotoLocation, GphotoMaxPhotos, GphotoName, GphotoNickname, GphotoPhotosLeft, GphotoPhotosUsed, GphotoQuotaLimit, GphotoQuotaUsed, GphotoThumbnail, GphotoTimestamp, GphotoUsername, GroupMembershipInfo, HiddenProperty, IcalUIDProperty, Identifier, Im, Image, InReplyTo, IntValueConstruct, Keyword, KeywordEntry, KeywordsFeed, Label, Language, Link, ListEntry, ListFeed, ListType, Login, MailItemEntry, MailItemFeed, MailItemProperty, MarketValue, Match, MediaCategory, MediaContent, MediaCopyright, MediaCredit, MediaDescription, MediaEntry, MediaFeed, MediaGroup, MediaHash, MediaKeywords, MediaPlayer, MediaRating, MediaRestriction, MediaText, MediaThumbnail, MediaTitle, MessageEntry, MessageEntry, MessageEntry.BodyExtension, MessageEntry.DateExtension, MessageEntry.LanguageExtension, MessageEntry.ReadExtension, MessageEntry.SubjectExtension, MessageFeed, MessagesFeed, Money, Name, Nickname, NicknameEntry, NicknameFeed, OpenAccess, Organization, OrgDepartment, OrgJobDescription, OrgName, OrgSymbol, OrgTitle, OriginalEvent, OverrideNameProperty, Package, PdfEntry, Person, PheedConstruct, PheedImageUrl, PheedThumbnail, PheedVideoUrl, PhoneNumber, PhotoDataImpl.GphotoChecksum, PhotoDataImpl.GphotoClient, PhotoDataImpl.GphotoExifTime, PhotoDataImpl.GphotoHeight, PhotoDataImpl.GphotoPosition, PhotoDataImpl.GphotoRotation, PhotoDataImpl.GphotoSize, PhotoDataImpl.GphotoStreamId, PhotoDataImpl.GphotoVideoStatus, PhotoDataImpl.GphotoVideoUrl, PhotoDataImpl.GphotoWidth, PhotoEntry, PhotoEntry, PhotoFeed, PlaylistEntry, PlaylistFeed, PlaylistLinkEntry, PlaylistLinkFeed, PointConstruct, PortfolioData, PortfolioEntry, PortfolioFeed, PortfolioFeedLink, PositionData, PositionEntry, PositionFeed, PositionFeedLink, PostalAddress, PostCommentFeed, PostEntry, PresentationEntry, Price, PrivateCopyProperty, ProfileEntry, ProfileFeed, ProfileMetaData, Property, PubControl, Publisher, QuickAddProperty, Quota, Rating, RatingEntry, RatingFeed, Recurrence, RecurrenceException, RegionCodeValueConstruct, RegisterEntry, RegisterFeed, Reminder, ResourceProperty, Review, Rfc822Msg, Rights, RowCount, SelectedProperty, SendAclNotificationsProperty, SendEventNotificationsProperty, SequenceNumberProperty, ServiceDocument, SitemapMobile, SitemapNews, SitemapsEntry, SitemapsEntry.LastDownloaded, SitemapsEntry.SitemapStatus, SitemapsEntry.UrlCount, SitemapsFeed, SitemapsMobileEntry, SitemapsMobileEntry.MarkupLanguage, SitemapsNewsEntry, SitemapsNewsEntry.PublicationLabel, SitemapsRegularEntry, SitemapsRegularEntry.SitemapType, SitesEntry, SitesEntry.Crawled, SitesEntry.CrawlingRate, SitesEntry.EnhancedImageSearch, SitesEntry.Geolocation, SitesEntry.Indexed, SitesEntry.PreferredDomain, SitesEntry.Verified, SitesFeed, Source, SpreadsheetEntry, SpreadsheetEntry, SpreadsheetFeed, Stats, Subject, SubscriptionEntry, SubscriptionFeed, Symbol, SyncEventProperty, SystemGroup, TagDataImpl.GphotoWeight, TagEntry, TimesCleanedProperty, TimeZoneProperty, Title, Total, TransactionData, TransactionEntry, TransactionFeed, UserDataImpl.GphotoMaxPhotos, UserDataImpl.GphotoQuotaLimit, UserDataImpl.GphotoQuotaUsed, UserEntry, UserEntry, UserFeed, UserFeed, UserProfileEntry, UserProfileFeed, ValueConstruct, VerificationMethod, VideoEntry, VideoFeed, VideoMessageEntry, VideoMessageFeed, Viewability, VolumeEntry, VolumeFeed, W3CPoint, WebContent, When, Where, Who, Who.AttendeeStatus, Who.AttendeeType, WorksheetEntry, WorksheetFeed, Workspace, YouTubeMediaContent, YouTubeMediaCredit, YouTubeMediaGroup, YouTubeMediaRating, YtAboutMe, YtAge, YtBooks, YtCommentRating, YtCompany, YtCountHint, YtDescription, YtDuration, YtFirstName, YtGender, YtHobbies, YtHometown, YtLastName, YtLocation, YtMovies, YtMusic, YtNoEmbed, YtOccupation, YtPlaylistId, YtPlaylistTitle, YtPosition, YtPrivate, YtPublicationState, YtQueryString, YtRacy, YtRecorded, YtRelationship, YtSchool, YtSpamHint, YtStatistics, YtStatus, YtToken, YtUploaded, YtUsername, YtUserProfileStatistics, YtVideoId

public interface Extension

Interface for GData extension data types. It is designed to be hosted within ExtensionPoint.


Method Summary
 void generate(XmlWriter w, ExtensionProfile extProfile)
          Generates an XML representation for the extension.
 XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, java.lang.String namespace, java.lang.String localName, org.xml.sax.Attributes attrs)
          Gets an XML element handler for the extension.
 

Method Detail

generate

void generate(XmlWriter w,
              ExtensionProfile extProfile)
              throws java.io.IOException
Generates an XML representation for the extension.

Parameters:
w - XML writer
extProfile - extension profile
Throws:
java.io.IOException

getHandler

XmlParser.ElementHandler getHandler(ExtensionProfile extProfile,
                                    java.lang.String namespace,
                                    java.lang.String localName,
                                    org.xml.sax.Attributes attrs)
                                    throws ParseException,
                                           java.io.IOException
Gets an XML element handler for the extension.

Parameters:
extProfile - extension profile
namespace - extension namespace
localName - tag name, without the namespace prefix
attrs - tag attributes
Returns:
an element handler
Throws:
ParseException - when an unexpected tag or badly-formatted XML is detected
java.io.IOException