| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.ExtensionPoint | ||
| ↳ | com.google.gdata.data.introspection.Collection | ||
The Collection class defines the basic Java object model representation and XML parsing/generation support for an APP collection. The implementation is versioned to support the AtomPub draft version 9 introspection format (used for the GData v1 implementation) as well as the final RFC5023 format (used for all other versions). The key difference between the two is that draft used an attribute for the collection title and a comma-delimited list for accepted MIME types, where the final version uses atom:title and repeating app:accept elements.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Collection.Handler | XmlParser ElementHandler for app:workspace
|
||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| accepts | The media types accepted by the collection. | ||||||||||
| atomPubNs | |||||||||||
| categoriesList | |||||||||||
| coreVersion | |||||||||||
| href | The href of the collection | ||||||||||
| title | The title of the collection | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Consumes attributes from the attribute helper.
| |||||||||||
Generates XML.
| |||||||||||
Returns a list of accept values.
| |||||||||||
Returns the accept type used in Atom service document to represent
the fact that the service accepts Atom entry posting.
| |||||||||||
The default implementation uses the
AbstractExtension.AttributesHandler to handle
parsing the extension. | |||||||||||
Returns the value of the resource reference.
| |||||||||||
Returns the title of the collection.
| |||||||||||
The mime type of the collection
| |||||||||||
Sets the value of the resource reference.
| |||||||||||
|
[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.Reference
| |||||||||||
From interface
com.google.gdata.data.introspection.ICollection
| |||||||||||
The media types accepted by the collection. If null, then only Atom entries are supported.
The href of the collection
| href |
|---|
| href | |
|---|---|
| title | |
| accepts |
| accept |
|---|
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.
| attrHelper | Attribute helper |
|---|
| ParseException |
|---|
Generates XML.
| w | Output writer |
|---|---|
| extProfile | Extension profile |
| IOException |
|---|
Returns a list of accept values.
Returns the accept type used in Atom service document to represent the fact that the service accepts Atom entry posting.
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.
The mime type of the collection
Sets the value of the resource reference.
| href | The resource href. |
|---|