| java.lang.Object | ||||
| ↳ | com.google.gdata.data.AbstractExtension | |||
| ↳ | com.google.gdata.data.ExtensionPoint | |||
| ↳ | com.google.gdata.data.Link | |||
| ↳ | com.google.gdata.data.analytics.AnalyticsLink | |||
Extends the base Link class with Analytics extensions.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AnalyticsLink.Rel | Link relation type. | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | TARGETKIND | XML "gd:targetKind" attribute name | |||||||||
| String | XML_NAME | XML element name | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| targetKind | Kind of feed/entry the href is pointing to | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.Link
| |||||||||||
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default mutable constructor.
| |||||||||||
Immutable constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
| |||||||||||
The default implementation uses the
AbstractExtension.AttributesHandler to handle
parsing the extension. | |||||||||||
Returns the kind of feed/entry the href is pointing to.
| |||||||||||
Returns whether it has the kind of feed/entry the href is pointing to.
| |||||||||||
Sets the kind of feed/entry the href is pointing to.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Consumes attributes from the attribute helper.
| |||||||||||
Puts attributes into the attribute generator.
| |||||||||||
Checks the attributes to see if there are any problems.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.Link
| |||||||||||
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
| |||||||||||
XML "gd:targetKind" attribute name
XML element name
Kind of feed/entry the href is pointing to
Default mutable constructor.
Immutable constructor.
| targetKind | Kind of feed/entry the href is pointing to. |
|---|
| obj |
|---|
Returns the extension description, specifying whether it is required, and whether it is repeatable.
| required | Whether it is required |
|---|---|
| repeatable | Whether it is repeatable |
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 kind of feed/entry the href is pointing to.
Returns whether it has the kind of feed/entry the href is pointing to.
Sets the kind of feed/entry the href is pointing to.
| targetKind | Kind of feed/entry the href is pointing to or
null to reset
|
|---|
Consumes attributes from the attribute helper. May also use
consumeContent(boolean) to consume the element's text
content. Called from getHandler(ExtensionProfile, String, String, Attributes). Default implementation does
nothing, though generally this is discouraged unless there really are no
attributes.
| helper | Attribute helper |
|---|
| ParseException |
|---|
Puts attributes into the attribute generator. Called from
generate(XmlWriter, ExtensionProfile). Default implementation
does nothing, though generally this is discouraged unless there really are
no attributes.
| generator | Attribute generator |
|---|
Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.