| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.ExtensionPoint | ||
| ↳ | com.google.gdata.data.Source | ||
Known Direct Subclasses
|
Known Indirect Subclasses
AbPageVariationFeed,
AccountFeed,
AclFeed,
ActivityFeed,
AlbumFeed,
ArchiveFeed,
AttendeeFeed,
BaseEventFeed<F extends BaseEventFeed<F, E extends BaseEventEntry<E>>, E>,
BaseHealthFeed<F extends BaseHealthFeed, E extends BaseHealthEntry>,
BlogCommentFeed,
BlogFeed,
BlogPostFeed,
CalendarEventFeed,
CalendarFeed,
CaptionTrackFeed,
and
73 others.
|
The Source class represents an Atom feed source object
primarily on the data model for an <atom:source>
element.
Here is the Relax-NG schema that represents an Atom 1.0
Source:
atomSource =
element atom:source {
atomCommonAttributes,
(atomAuthor*
& atomCategory*
& atomContributor*
& atomGenerator?
& atomIcon?
& atomId?
& atomLink*
& atomLogo?
& atomRights?
& atomSubtitle?
& atomTitle?
& atomUpdated?
& extensionElement*)
}
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Source.SourceHandler | <atom:source> parser. |
||||||||||
| Source.SourceState | The SourceState class provides a simple structure that encapsulates
the attributes of an Atom source that should be shared with a shallow
copy if the entry is adapted to a more specific Source
Kind.Adaptor subtypes. |
||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| srcState | Basic state for this source. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
Source instance with no initial state. | |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Copy constructor that initializes a new Source instance to have
identical contents to another instance, using a shared reference to
the same
Source.SourceState. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds a link pointing to an HTML representation.
| |||||||||||
Generates XML in the Atom format.
| |||||||||||
Retrieves the first HTML link.
| |||||||||||
Retrieves the first link with the supplied
rel and/or
type value. | |||||||||||
Return the links that match the given
rel and type values. | |||||||||||
Parses XML in the Atom format.
| |||||||||||
Parses XML in the Atom format.
| |||||||||||
Remove all links that match the given
rel and type values. | |||||||||||
Removes all links.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Generates inner XML content in the Atom format.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
Basic state for this source. May be shared across multiple adapted instances associated with the same logical source.
Copy constructor that initializes a new Source instance to have
identical contents to another instance, using a shared reference to
the same Source.SourceState.
| sourceSource |
|---|
Adds a link pointing to an HTML representation.
| htmlUri | Link URI |
|---|---|
| lang | Optional language code |
| title | Optional title |
Generates XML in the Atom format.
| w | Output writer |
|---|---|
| extProfile | Extension profile |
| IOException |
|---|
Retrieves the first link with the supplied rel and/or
type value.
If either parameter is null, doesn't return matches
for that parameter.
| rel | |
|---|---|
| type |
Return the links that match the given rel and type values.
| relToMatch | rel value to match or null to match any
rel value. |
|---|---|
| typeToMatch | type value to match or null to match any
type value. |
Parses XML in the Atom format.
| extProfile | Extension profile |
|---|---|
| stream | XML input stream |
| ParseException | |
|---|---|
| IOException |
Parses XML in the Atom format.
| extProfile | Extension profile |
|---|---|
| reader | XML Reader. The caller is responsible for ensuring that the character encoding is correct. |
| IOException | |
|---|---|
| ParseException |
Remove all links that match the given rel and type values.
| relToMatch | rel value to match or null to match any
rel value. |
|---|---|
| typeToMatch | type value to match or null to match any
type value.
|
Removes all links.
| v |
|---|
| v |
|---|
| v |
|---|
Generates inner XML content in the Atom format.
| w | Output writer |
|---|---|
| extProfile | Extension profile |
| IOException |
|---|