| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.ExtensionPoint | ||
| ↳ | com.google.gdata.data.ExtensionDescription | ||
The ExtensionDescription class describes the attributes of an XML extension
type. This description can be declared within an ExtensionProfile
to indicate that the extension is expected within a particular
ExtensionPoint.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ExtensionDescription.Default | The Default interface defines a simple annotation model for describing
the default ExtensionDescription of an Extension class. |
||||||||||
| ExtensionDescription.Handler | Reads the ExtensionDescription XML format | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| aggregate | Specifies whether the extension type aggregates the contents of multiple elements within its parent. | ||||||||||
| arbitraryXml | Specifies whether the extension type allows arbitrary xml children. | ||||||||||
| extensionClass | The Extension class used to parse and generate the extension type | ||||||||||
| localName | Local name of the XML extension type. | ||||||||||
| mixedContent | If the extension type allows arbitrary xml, specifies whether the extension allows mixed content. | ||||||||||
| namespace | The namespace of the XML extension type. | ||||||||||
| repeatable | Specifies whether the extension type can be repeated within its parent extension point. | ||||||||||
| required | Specifies whether the extension is required within its parent extension point. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an uninitialized ExtensionDescription.
| |||||||||||
Constructs a new ExtensionDescription populated with the parameter
values.
| |||||||||||
Constructs a new ExtensionDescription populated with the parameter
values.
| |||||||||||
Constructs a new ExtensionDescription for an optional, non-repeating
simple element.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Defines a natural ordering for ExtensionDescription based upon
the qualified name of the mapped XML element.
| |||||||||||
Generates XML in the external config format.
| |||||||||||
Returns the default
ExtensionDescription for the specified
Extension class. | |||||||||||
|
[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
java.lang.Comparable
| |||||||||||
Specifies whether the extension type aggregates the contents of multiple elements within its parent.
Specifies whether the extension type allows arbitrary xml children.
The Extension class used to parse and generate the extension type
Local name of the XML extension type. A value of '*' indicates that all elements in the namespace will be handled by the Extension class.
If the extension type allows arbitrary xml, specifies whether the extension allows mixed content. If the extension type does not permit arbitrary xml, then mixed content is meaningless.
Specifies whether the extension type can be repeated within its parent extension point.
Specifies whether the extension is required within its parent extension point.
Constructs an uninitialized ExtensionDescription.
Constructs a new ExtensionDescription populated with the parameter values.
| extensionClass | |
|---|---|
| namespace | |
| localName | |
| required | |
| repeatable | |
| aggregate |
Constructs a new ExtensionDescription populated with the parameter values.
| extensionClass | |
|---|---|
| namespace | |
| localName | |
| required | |
| repeatable | |
| aggregate | |
| arbitraryXml | |
| mixedContent |
Constructs a new ExtensionDescription for an optional, non-repeating simple element.
| extensionClass | |
|---|---|
| namespace | |
| localName |
Defines a natural ordering for ExtensionDescription based upon the qualified name of the mapped XML element. Elements with no namespace are considered to precede all others.
| desc |
|---|
Generates XML in the external config format.
| w | Output writer. |
|---|---|
| extProfile | Extension profile. |
| IOException |
|---|
Returns the default ExtensionDescription for the specified
Extension class.
| extensionClass | The target extension class. |
|---|
| IllegalArgumentException | if a default description could not be fourn for the extension class. |
|---|
| aggregate |
|---|
| arbitraryXml |
|---|
| localName |
|---|
| mixedContent |
|---|
| repeatable |
|---|
| required |
|---|