| Package | Description |
|---|---|
| com.google.gdata.client | |
| com.google.gdata.model |
| Modifier and Type | Method and Description |
|---|---|
protected MetadataContext |
Service.ClientStreamProperties.getMetadataContext()
Returns a
MetadataContext based upon the alt format and version
of the request associated with these properties. |
| Modifier and Type | Field and Description |
|---|---|
static MetadataContext |
MetadataContext.ATOM
The ATOM metadata context.
|
static MetadataContext |
MetadataContext.RSS
The RSS metadata context.
|
| Modifier and Type | Method and Description |
|---|---|
static MetadataContext |
MetadataContext.forAlt(AltFormat format)
Creates a new immutable metadata context with just an alt format.
|
static MetadataContext |
MetadataContext.forContext(AltFormat format,
String projection,
Version version)
Creates a new immutable metadata context.
|
static MetadataContext |
MetadataContext.forProjection(String projection)
Creates a new immutable metadata context with just projection.
|
static MetadataContext |
MetadataContext.forVersion(Version version)
Constructs a new immutable metadata context with just version.
|
MetadataContext |
Metadata.getContext()
Returns the metadata context that this metadata was created for, or
null if this metadata is not part of a context. |
MetadataContext |
ForwardingElementMetadata.getContext() |
| Modifier and Type | Method and Description |
|---|---|
<D> AttributeMetadata<D> |
Schema.bind(ElementKey<?,?> parent,
AttributeKey<D> attribute,
MetadataContext context)
Returns the metadata for the attribute, bound to the context.
|
<D,E extends Element> |
Schema.bind(ElementKey<?,?> parent,
ElementKey<D,E> child,
MetadataContext context)
Returns the metadata for the child element in the parent, bound to the
context.
|
<D,E extends Element> |
Schema.bind(ElementKey<D,E> key,
MetadataContext context)
Returns the metadata for the element key bound to the context.
|
ElementMetadata<D,E> |
ForwardingElementMetadata.bind(MetadataContext context) |
ElementMetadata<D,E> |
ElementMetadata.bind(MetadataContext context)
Binds this element metadata to the given context.
|
AttributeMetadata<D> |
AttributeMetadata.bind(MetadataContext context)
Binds this attribute metadata to the given context.
|
AttributeCreator |
MetadataRegistry.build(ElementKey<?,?> parent,
AttributeKey<?> attribute,
MetadataContext context)
Builds the metadata for the attribute inside the parent, during the
context.
|
ElementCreator |
MetadataRegistry.build(ElementKey<?,?> parent,
ElementKey<?,?> element,
MetadataContext context)
Builds metadata for when the
key is inside the parent and
used in a context compatible with context. |
ElementCreator |
MetadataRegistry.build(ElementKey<?,?> element,
MetadataContext context)
Builds metadata for when the
key is used in a context compatible
with context. |
int |
MetadataContext.compareTo(MetadataContext other)
Compare two context objects to order them.
|
boolean |
MetadataContext.matches(MetadataContext other)
Returns true if this context is a match for the given context.
|
Copyright © 2012. All Rights Reserved.