| Package | Description |
|---|---|
| com.google.gdata.model | |
| com.google.gdata.model.atom | |
| com.google.gdata.model.atompub | |
| com.google.gdata.model.batch | |
| com.google.gdata.model.gd |
| Modifier and Type | Method and Description |
|---|---|
AttributeKey<?> |
ForwardingElementMetadata.findAttribute(QName id) |
AttributeKey<?> |
ElementMetadata.findAttribute(QName id)
Finds an attribute of the given id on this element or any adaptations.
|
AttributeKey<?> |
Attribute.getAttributeKey()
Returns the attribute key of this attribute.
|
AttributeKey<D> |
AttributeMetadata.getKey()
Returns the attribute key for this attribute metadata.
|
AttributeKey<?> |
Path.getSelectedAttributeKey()
Returns the attribute key at the end of the path.
|
static AttributeKey<String> |
AttributeKey.of(QName id)
Construct and return a new attribute key with the default datatype of
String.
|
static <T> AttributeKey<T> |
AttributeKey.of(QName id,
Class<? extends T> datatype)
Construct and return a new attribute key with the given id and datatype.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<AttributeKey<?>> |
ForwardingElementMetadata.getAttributes() |
Collection<AttributeKey<?>> |
ElementMetadata.getAttributes()
Returns an immutable collection of attribute keys in declaration order.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeCreator |
ElementCreator.addAttribute(AttributeKey<?> key)
Add the key for an attribute.
|
<D> AttributeMetadata<D> |
Schema.bind(ElementKey<?,?> parent,
AttributeKey<D> attribute)
Returns the default metadata for the given attribute.
|
<D> AttributeMetadata<D> |
Schema.bind(ElementKey<?,?> parent,
AttributeKey<D> attribute,
MetadataContext context)
Returns the metadata for the attribute, bound to the context.
|
<K> AttributeMetadata<K> |
ForwardingElementMetadata.bindAttribute(AttributeKey<K> key) |
<K> AttributeMetadata<K> |
ElementMetadata.bindAttribute(AttributeKey<K> key)
Binds the attribute metadata associated with a particular key.
|
AttributeCreator |
MetadataRegistry.build(ElementKey<?,?> parent,
AttributeKey<?> attribute)
Builds the metadata for the attribute inside the parent.
|
AttributeCreator |
MetadataRegistry.build(ElementKey<?,?> parent,
AttributeKey<?> attribute,
MetadataContext context)
Builds the metadata for the attribute inside the parent, during the
context.
|
<T> T |
Element.getAttributeValue(AttributeKey<T> key)
Returns the attribute value cast to the appropriate type, based on the
given key.
|
boolean |
Element.hasAttribute(AttributeKey<?> childKey)
Returns true if the element has an attribute with the given key.
|
boolean |
ForwardingElementMetadata.isDeclared(AttributeKey<?> key) |
boolean |
ElementMetadata.isDeclared(AttributeKey<?> key)
Returns true if this metadata declares the given attribute.
|
AttributeCreator |
ElementCreator.moveAttribute(AttributeKey<?> key,
Path path)
Adds a new virtual attribute based on a path.
|
ElementCreator |
ElementCreator.orderAndWhitelistAttributes(AttributeKey<?>... keys)
Sets a list of attributes as the only visible attributes for an element,
and also places them into the given order in the element.
|
Object |
Element.removeAttribute(AttributeKey<?> key)
Deprecated.
use removeAttributeValue instead.
|
Object |
Element.removeAttributeValue(AttributeKey<?> key)
Remove attribute (if present).
|
AttributeCreator |
ElementCreator.replaceAttribute(AttributeKey<?> key)
Replaces the existing metadata for an attribute.
|
Element |
Element.setAttributeValue(AttributeKey<?> key,
Object attrValue)
Add attribute by value.
|
ElementCreator |
ElementCreator.whitelistAttributes(AttributeKey<?>... keys)
Whitelists a set of attributes for this element metadata.
|
| Modifier and Type | Field and Description |
|---|---|
static AttributeKey<String> |
OutOfLineContent.ETAG
The gd:etag attribute.
|
static AttributeKey<String> |
Link.ETAG
The etag attribute.
|
static AttributeKey<String> |
Link.HREF
The href attribute.
|
static AttributeKey<String> |
Link.HREFLANG
The hreflang attribute.
|
static AttributeKey<String> |
Category.LABEL
The category label attribute.
|
static AttributeKey<Long> |
OutOfLineContent.LENGTH
Metadata for the length attribute (hidden by default).
|
static AttributeKey<Long> |
Link.LENGTH
The length attribute.
|
static AttributeKey<String> |
Link.REL
The rel attribute.
|
static AttributeKey<String> |
Category.SCHEME
The category scheme attribute.
|
static AttributeKey<URI> |
Content.SRC
The src attribute.
|
static AttributeKey<String> |
Category.TERM
The category term attribute.
|
static AttributeKey<String> |
Link.TITLE
The title attribute.
|
static AttributeKey<String> |
Link.TYPE
The type attribute.
|
static AttributeKey<String> |
Content.TYPE
The content type attribute.
|
static AttributeKey<URI> |
Source.Generator.URI
Metadata for the uri attribute.
|
static AttributeKey<String> |
Source.Generator.VERSION
Metadata for the version attribute.
|
static AttributeKey<URI> |
Feed.XML_BASE
The xml:base attribute.
|
static AttributeKey<String> |
Link.XML_LANG
The xml:lang attribute.
|
static AttributeKey<String> |
Content.XML_LANG
Key for the XML lang attribute
|
static AttributeKey<String> |
Category.XML_LANG
Qualified name for the XML lang attribute
|
| Modifier and Type | Field and Description |
|---|---|
static AttributeKey<Categories.Fixed> |
Categories.FIXED
Indicates whether the list of categories is a fixed or an open set.
|
static AttributeKey<String> |
Collection.HREF
The href attribute.
|
static AttributeKey<String> |
Categories.HREF
An IRI reference to a Category Document.
|
static AttributeKey<String> |
Categories.SCHEME
Default scheme of the contained category elements.
|
static AttributeKey<String> |
Workspace.TITLE
The title attribute.
|
static AttributeKey<String> |
Collection.TITLE
Qualified name of title attribute.
|
| Modifier and Type | Field and Description |
|---|---|
static AttributeKey<Integer> |
BatchStatus.CODE
The HTTP response code.
|
static AttributeKey<ContentType> |
BatchStatus.CONTENT_TYPE
The MIME type for the content of the error message contained in this
element.
|
static AttributeKey<ContentType> |
BatchInterrupted.CONTENT_TYPE
The MIME type of the content of this element.
|
static AttributeKey<Integer> |
BatchInterrupted.ERROR_COUNT
The number of entries for which processing failed.
|
static AttributeKey<String> |
BatchStatus.REASON
The short message describing this status.
|
static AttributeKey<String> |
BatchInterrupted.REASON
The reason.
|
static AttributeKey<Integer> |
BatchInterrupted.SKIPPED_COUNT
The number of entries parsed but not processed.
|
static AttributeKey<Integer> |
BatchInterrupted.SUCCESS_COUNT
The number of entries processed successfully.
|
static AttributeKey<Integer> |
BatchInterrupted.TOTAL_COUNT
The number of entries that were parsed.
|
static AttributeKey<BatchOperationType> |
BatchOperation.TYPE
The operation type.
|
| Modifier and Type | Field and Description |
|---|---|
static AttributeKey<DateTime> |
Reminder.ABSOLUTE_TIME
Absolute time of the reminder.
|
static AttributeKey<String> |
Im.ADDRESS
IM address.
|
static AttributeKey<String> |
Email.ADDRESS
Email address.
|
static AttributeKey<Double> |
Money.AMOUNT
Amount.
|
static AttributeKey<Float> |
Rating.AVERAGE
Average rating.
|
static AttributeKey<String> |
Country.CODE
The 3166-1 alpha-2 country code.
|
static AttributeKey<Integer> |
FeedLink.COUNT_HINT
Qualified name of hint at the number of entries in the feed attribute.
|
static AttributeKey<String> |
Money.CURRENCY_CODE
ISO4217 currency code.
|
static AttributeKey<Integer> |
Reminder.DAYS
Number of days before the start time.
|
static AttributeKey<String> |
Email.DISPLAY_NAME
DisplayName.
|
static AttributeKey<Float> |
GeoPt.ELEV
Elevation.
|
static AttributeKey<String> |
Who.EMAIL
Email address.
|
static AttributeKey<DateTime> |
When.END_TIME
Event end time.
|
static AttributeKey<String> |
GdAttributes.ETAG
The gd:etag attribute is placed on resources to return the entity tag
associated with the resource that can be used for conditional retrieval
and conditional update (if strong).
|
static AttributeKey<String> |
GdAttributes.FIELDS
The gd:fields attributes is placed on resources to indicate that the
resource representation is a partial representation of the full resource.
|
static AttributeKey<Integer> |
Reminder.HOURS
Number of hours before the start time.
|
static AttributeKey<String> |
OriginalEvent.HREF
URL of the original recurring event entry.
|
static AttributeKey<String> |
FeedLink.HREF
Qualified name of feed URI attribute.
|
static AttributeKey<String> |
EntryLink.HREF
The entry URI.
|
static AttributeKey<String> |
GdAttributes.KIND
The gd:kind attribute is placed on resources to indicate the GData
kind of the resource.
|
static AttributeKey<String> |
Where.LABEL
User-readable label that identifies this location in case multiple
locations may be present.
|
static AttributeKey<String> |
StructuredPostalAddress.LABEL
Simple string value used to name this address.
|
static AttributeKey<String> |
PostalAddress.LABEL
Simple string value used to name this address.
|
static AttributeKey<String> |
PhoneNumber.LABEL
Simple string value used to name this phone number.
|
static AttributeKey<String> |
Organization.LABEL
Label.
|
static AttributeKey<String> |
Im.LABEL
Label.
|
static AttributeKey<String> |
GeoPt.LABEL
Label.
|
static AttributeKey<String> |
Email.LABEL
Label.
|
static AttributeKey<Float> |
GeoPt.LAT
Latitude.
|
static AttributeKey<Float> |
GeoPt.LON
Longitude.
|
static AttributeKey<String> |
StructuredPostalAddress.MAIL_CLASS
The mail class.
|
static AttributeKey<Integer> |
Rating.MAX
Rating scale's maximum value.
|
static AttributeKey<String> |
Reminder.METHOD
Method.
|
static AttributeKey<Integer> |
Rating.MIN
Rating scale's minimum value.
|
static AttributeKey<Integer> |
Reminder.MINUTES
Number of minute before the start times.
|
static AttributeKey<String> |
ExtendedProperty.NAME
Name of the property expressed as a URI.
|
static AttributeKey<String> |
CustomProperty.NAME
Can be a URI to indicate a specific ontology.
|
static AttributeKey<String> |
Ordering.NEXT
Next element.
|
static AttributeKey<Integer> |
Rating.NUM_RATERS
Number of ratings taken into account when computing the average value.
|
static AttributeKey<String> |
Ordering.ORDER_ID
Ordered feed id.
|
static AttributeKey<String> |
OriginalEvent.ORIGINAL_ID
Event ID of the original recurring event entry.
|
static AttributeKey<String> |
Ordering.PREV
Previous element.
|
static AttributeKey<Boolean> |
StructuredPostalAddress.PRIMARY
Whether this is the primary postal address.
|
static AttributeKey<Boolean> |
PostalAddress.PRIMARY
Whether this is the primary postal address.
|
static AttributeKey<Boolean> |
PhoneNumber.PRIMARY
Whether this is the primary phone number.
|
static AttributeKey<Boolean> |
Organization.PRIMARY
Whether this is the primary organization.
|
static AttributeKey<Boolean> |
Im.PRIMARY
Whether this is the primary instant messaging address.
|
static AttributeKey<Boolean> |
Email.PRIMARY
Whether this is the primary email address.
|
static AttributeKey<String> |
Im.PROTOCOL
Im protocol.
|
static AttributeKey<Boolean> |
FeedLink.READ_ONLY
Qualified name of whether the contained feed is read-only attribute.
|
static AttributeKey<Boolean> |
EntryLink.READ_ONLY
Whether the contained entry is read-only.
|
static AttributeKey<String> |
ExtendedProperty.REALM
Limit on who may see and modify this extended property.
|
static AttributeKey<String> |
Ordering.REF
Other entry id.
|
static AttributeKey<String> |
Who.REL
Relationship between the containing entity and the contained person.
|
static AttributeKey<String> |
Where.REL
Meaning of this location.
|
static AttributeKey<String> |
StructuredPostalAddress.REL
The postal address type.
|
static AttributeKey<String> |
Rating.REL
Programmatic value that describes the aspect that's being rated, if not
specified, the rating is an overall rating.
|
static AttributeKey<String> |
PostalAddress.REL
Postal address type.
|
static AttributeKey<String> |
PhoneNumber.REL
Programmatic value that identifies the type of phone number.
|
static AttributeKey<String> |
Organization.REL
Organization type.
|
static AttributeKey<String> |
Ordering.REL
Order type.
|
static AttributeKey<String> |
Im.REL
Im type.
|
static AttributeKey<String> |
FeedLink.REL
Qualified name of feed relation type attribute.
|
static AttributeKey<String> |
EntryLink.REL
Qualified name of entry relation type attribute.
|
static AttributeKey<String> |
Email.REL
Email type.
|
static AttributeKey<Boolean> |
RecurrenceException.SPECIALIZED
Whether the exception is specialized.
|
static AttributeKey<DateTime> |
When.START_TIME
Event start time.
|
static AttributeKey<DateTime> |
GeoPt.TIME
Time.
|
static AttributeKey<String> |
CustomProperty.TYPE
Datatype such as string, integer, and date, or an ontology-specific URI.
|
static AttributeKey<String> |
CustomProperty.UNIT
Units of data - can also be a URI to indicate a specific ontology.
|
static AttributeKey<String> |
PhoneNumber.URI
An optional "tel URI" useful for programmatic access.
|
static AttributeKey<String> |
StructuredPostalAddress.USAGE
The context for the address use.
|
static AttributeKey<String> |
Visibility.VALUE
Value.
|
static AttributeKey<String> |
Transparency.VALUE
Value.
|
static AttributeKey<Integer> |
Rating.VALUE
Rating value.
|
static AttributeKey<String> |
ExtendedProperty.VALUE
Property value.
|
static AttributeKey<String> |
EventStatus.VALUE
Value.
|
static AttributeKey<String> |
AttendeeType.VALUE
Value.
|
static AttributeKey<String> |
AttendeeStatus.VALUE
Value.
|
static AttributeKey<String> |
Who.VALUE_STRING
Simple string value that can be used as a representation of this person.
|
static AttributeKey<String> |
Where.VALUE_STRING
Text description of the place.
|
static AttributeKey<String> |
When.VALUE_STRING
String description of the event times.
|
static AttributeKey<String> |
OrgName.YOMI
Yomi name of organization.
|
static AttributeKey<String> |
GivenName.YOMI
Pronunciation help.
|
static AttributeKey<String> |
FullName.YOMI
Pronunciation help.
|
static AttributeKey<String> |
FamilyName.YOMI
Pronunciation help.
|
static AttributeKey<String> |
AdditionalName.YOMI
Pronunciation help.
|
Copyright © 2012. All Rights Reserved.