| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.ExtensionPoint | ||
| ↳ | com.google.gdata.data.docs.AdditionalRoleSet | ||
A set of valid additional roles for a primary role within a document type.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | PRIMARYROLE | XML "primaryRole" attribute name | |||||||||
| String | XML_NAME | XML element name | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| primaryRole | PrimaryRole | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default mutable constructor.
| |||||||||||
Immutable constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds a new additional role.
| |||||||||||
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
| |||||||||||
Returns the additional roles.
| |||||||||||
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
| |||||||||||
Returns the primaryRole.
| |||||||||||
Returns whether it has the additional roles.
| |||||||||||
Returns whether it has the primaryRole.
| |||||||||||
Sets the primaryRole.
| |||||||||||
| 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.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
XML "primaryRole" attribute name
XML element name
PrimaryRole
Default mutable constructor.
Immutable constructor.
| primaryRole | PrimaryRole. |
|---|
Adds a new additional role.
| additionalRole | Additional role |
|---|
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.
| extProfile | The ExtensionProfile to initialize. |
|---|
Returns the additional roles.
Returns the extension description, specifying whether it is required, and whether it is repeatable.
| required | Whether it is required |
|---|---|
| repeatable | Whether it is repeatable |
Returns the primaryRole.
Returns whether it has the additional roles.
Returns whether it has the primaryRole.
Sets the primaryRole.
| primaryRole | PrimaryRole 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.