| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.ExtensionPoint | ||
| ↳ | com.google.gdata.data.Link | ||
Known Direct Subclasses
AnalyticsLink,
EntryLink<E extends BaseEntry<?>>,
FeedLink<F extends BaseFeed<?, ?>>,
IssuesLink,
SitesLink
|
Known Indirect Subclasses
|
External link type.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Link.AtomHandler | <atom:link> parser. | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| content | Nested atom:content element or null if no inlined link content. |
||||||||||
| etag | Etag of linked resource, or null if unknown |
||||||||||
| href | Link URI. | ||||||||||
| hrefLang | Language of resource pointed to by href. | ||||||||||
| length | Length of the resource pointed to by href, in bytes. | ||||||||||
| rel | Link relation type. | ||||||||||
| title | Link title. | ||||||||||
| titleLang | Language of link title. | ||||||||||
| type | MIME type of the link target. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Generates an XML representation for the extension.
| |||||||||||
Generates XML in the Atom format.
| |||||||||||
Generates XML in the RSS format.
| |||||||||||
The default implementation uses the
AbstractExtension.AttributesHandler to handle
parsing the extension. | |||||||||||
Returns the value of the resource reference.
| |||||||||||
Returns the link relation type.
| |||||||||||
Returns the mime type of the link.
| |||||||||||
Returns whether this link matches the given
rel and type
values. | |||||||||||
Sets the value of the resource reference.
| |||||||||||
Sets the link relation type.
| |||||||||||
Sets the mime type of the link.
| |||||||||||
|
[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
| |||||||||||
From interface
com.google.gdata.data.ILink
| |||||||||||
From interface
com.google.gdata.data.Reference
| |||||||||||
Etag of linked resource, or null if unknown
Link URI.
Language of resource pointed to by href.
Length of the resource pointed to by href, in bytes.
Link relation type. Possible values include self, prev, next, enclosure, etc.
Link title.
Language of link title.
MIME type of the link target.
| rel | |
|---|---|
| type | |
| href |
Generates an XML representation for the extension.
| w | XML writer |
|---|---|
| p | Extension profile |
| IOException |
|---|
Generates XML in the Atom format.
| w | Output writer. |
|---|---|
| extProfile | Extension profile. |
| IOException |
|---|
Generates XML in the RSS format.
| w | Output writer. |
|---|
| IOException |
|---|
The default implementation uses the AbstractExtension.AttributesHandler to handle
parsing the extension.
| p | Extension profile |
|---|---|
| namespace | Extension namespace |
| localName | Tag name, without the namespace prefix |
| attrs | Tag attributes |
Returns the value of the resource reference.
Returns the link relation type. Common values are defined in the
ILink.Rel class.
Returns the mime type of the link.
Returns whether this link matches 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.
|
| v |
|---|
Sets the value of the resource reference.
| v | The resource href. |
|---|
| v |
|---|
| v |
|---|
Sets the link relation type.
| v |
|---|
| v |
|---|
| v |
|---|
Sets the mime type of the link.
| v |
|---|