| java.lang.Object | |
| ↳ | com.google.gdata.util.Namespaces |
Collection of various namespace URIs.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | atom | Atom namespace. | |||||||||
| String | atomPub |
This constant is deprecated.
Use getAtomPubNs().getUri() instead. Use
atomPubDraft if you absolutely want the draft app namespace
and not the standard one.
|
|||||||||
| String | atomPubDraft | Atom Publishing Protocol (draft) namespace. | |||||||||
| String | atomPubStandard | Atom Publishing Protocol (final) namespace. | |||||||||
| String | batch | Google data batch feeds namespace. | |||||||||
| String | batchAlias | ||||||||||
| String | g | Google data (GD) namespace | |||||||||
| String | gAlias | ||||||||||
| String | gKind | Google data kind scheme. | |||||||||
| String | gPrefix | ||||||||||
| String | gdataConfig | GData configuration namespace. | |||||||||
| String | gr | Google data runtime namespace. | |||||||||
| String | openSearch |
This constant is deprecated.
Use getOpenSearchNs().getUri() instead. Use
openSearch1_0 if you absolutely want the namespace of
opensearch 1.0 and not 1.1.
|
|||||||||
| String | openSearch1_0 | Amazon OpenSearch/RSS 1.0 namespace. | |||||||||
| String | openSearch1_1 | Amazon OpenSearch 1.1 namespace. | |||||||||
| String | openSearchDesc |
This constant is deprecated.
Use getOpenSearchDescNs().getUri() instead.
|
|||||||||
| String | openSearchDesc1_1 |
This constant is deprecated.
Use getOpenSearchDescNs().getUri() instead.
|
|||||||||
| String | xhtml | XHTML namespace. | |||||||||
| String | xml | Standard XML namespace used for xml:lang, xml:base,
... |
|||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| atomNs | Atom XML namespace, for assigning atom: prefix. |
||||||||||
| atomPubDraftNs | Atom Publishing Protocol (draft) XML namespace. | ||||||||||
| atomPubNs |
This field is deprecated.
Use getAtomPubNs() instead. Use
atomPubDraftNs if you absolutely want the draft app namespace
and not the standard one.
|
||||||||||
| atomPubStandardNs | Atom Publishing Protocol (final) XML namespace. | ||||||||||
| batchNs | |||||||||||
| gNs | Google data XML namespace. | ||||||||||
| gdataConfigNs | GData XML namespace. | ||||||||||
| grNs | Google data runtime XML namespace. | ||||||||||
| openSearch1_0Ns | Amazon OpenSearch/RSS 1.0 XML namespace. | ||||||||||
| openSearch1_1Ns | Amazon OpenSearch 1.1 XML namespace. | ||||||||||
| openSearchDesc1_1Ns |
This field is deprecated.
Use getOpenSearchDescNs() instead.
|
||||||||||
| openSearchDescNs |
This field is deprecated.
Use getOpenSearchDescNs() instead.
|
||||||||||
| openSearchNs |
This field is deprecated.
Use getOpenSearchNs() instead. Use
openSearch1_0Ns if you absolutely want the namespace of
opensearch 1.0.
|
||||||||||
| rssNs | RSS XML namespace. | ||||||||||
| xhtmlNs | XHTML XML namespace. | ||||||||||
| xmlNs | XML namespace | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Deflate a full GData URI using gPrefix (with "#") into a short name if possible.
| |||||||||||
Deflate a full URI into a short name if possible.
| |||||||||||
Returns the XML namespace associated with the Atom Publishing
Protocol.
| |||||||||||
Returns the XML namespace associated with OpenSearch Description.
| |||||||||||
Returns the XML namespace associated with OpenSearch.
| |||||||||||
Inflate a short name into a full GData URI using gPrefix (ending in "#").
| |||||||||||
Inflate a short name into a full URI.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Atom namespace.
This constant is deprecated.
Use getAtomPubNs().getUri() instead. Use
atomPubDraft if you absolutely want the draft app namespace
and not the standard one.
Atom Publishing Protocol (draft) namespace.
Atom Publishing Protocol (draft) namespace.
Use this only when you are sure you want the draft version
of the namespace. Use getAtomPubNs().getUri() when
you want the atom pub namespace that should be used for the
current version.
Atom Publishing Protocol (final) namespace.
Use this only when you are sure you want the standard version
of the namespace. Use getAtomPubNs().getUri() when
you want the atom pub namespace that should be used for the
current version.
Google data batch feeds namespace.
Google data (GD) namespace
Google data kind scheme.
GData configuration namespace.
Google data runtime namespace.
This constant is deprecated.
Use getOpenSearchNs().getUri() instead. Use
openSearch1_0 if you absolutely want the namespace of
opensearch 1.0 and not 1.1.
Amazon OpenSearch/RSS namespace.
Amazon OpenSearch/RSS 1.0 namespace.
Use this only when you are sure you want the version 1.0
of the namespace. Use getOpenSearchNs().getUri() when
you want the opensearch URI that should be used for the
current version.
Amazon OpenSearch 1.1 namespace.
Use this only when you are sure you want the version 1.1
of the namespace. Use getOpenSearchNs().getUri() when
you want the opensearch URI that should be used for the
current version.
This constant is deprecated.
Use getOpenSearchDescNs().getUri() instead.
Amazon OpenSearch/RSS Description Document namespace.
This constant is deprecated.
Use getOpenSearchDescNs().getUri() instead.
Amazon OpenSearch 1.1 Description Document namespace.
XHTML namespace.
Standard XML namespace used for xml:lang, xml:base,
...
Atom Publishing Protocol (draft) XML namespace.
Use this only when you are sure you want the draft version
of the namespace. Use getAtomPubNs() when
you want the atom pub namespace that should be used for the
current version.
This field is deprecated.
Use getAtomPubNs() instead. Use
atomPubDraftNs if you absolutely want the draft app namespace
and not the standard one.
Atom Publishing Protocol (draft) XML namespace.
Atom Publishing Protocol (final) XML namespace.
Use this only when you are sure you want the standard version
of the namespace. Use getAtomPubNs() when
you want the atom pub namespace that should be used for the
current version.
Amazon OpenSearch/RSS 1.0 XML namespace.
Use this only when you are sure you want the version 1.0
of the namespace. Use getOpenSearchNs() when
you want the opensearch URI that should be used for the
current version.
Amazon OpenSearch 1.1 XML namespace.
Use this only when you are sure you want the version 1.1
of the namespace. Use getOpenSearchNs().getUri() when
you want the opensearch URI that should be used for the
current version.
This field is deprecated.
Use getOpenSearchDescNs() instead.
Amazon OpenSearch 1.1 Description Document XML namespace.
This field is deprecated.
Use getOpenSearchDescNs() instead.
Amazon OpenSearch/RSS Description Document XML namespace.
This field is deprecated.
Use getOpenSearchNs() instead. Use
openSearch1_0Ns if you absolutely want the namespace of
opensearch 1.0.
Amazon OpenSearch/RSS XML namespace.
Deflate a full GData URI using gPrefix (with "#") into a short name if possible. Names that belong to a non-GData namespace are left alone. For example, "http://schemas.google.com/g/2005#foo" becomes "foo".
| uri | The full URI |
|---|
Deflate a full URI into a short name if possible. URIs that belong to a different namespace are left alone.
| uri | The full URI |
|---|---|
| namespace | The namespace name |
Returns the XML namespace associated with the Atom Publishing Protocol.
Returns the XML namespace associated with OpenSearch Description.
Returns the XML namespace associated with OpenSearch.
Inflate a short name into a full GData URI using gPrefix (ending in "#"). Names that already look like URIs are left alone. For example, "foo" becomes "http://schemas.google.com/g/2005#foo".
| name | The name |
|---|
Inflate a short name into a full URI. Names that already look like URIs are left alone.
| name | The name |
|---|---|
| namespace | The base namespace for the name |