|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.util.Namespaces
public final class Namespaces
Collection of various namespace URIs.
Field Summary | |
---|---|
static java.lang.String |
atom
Atom namespace. |
static XmlNamespace |
atomNs
Atom XML namespace, for assigning atom: prefix. |
static java.lang.String |
atomPub
Deprecated. Use getAtomPubNs().getUri() instead. Use
atomPubDraft if you absolutely want the draft app namespace
and not the standard one. |
static java.lang.String |
atomPubDraft
Atom Publishing Protocol (draft) namespace. |
static XmlNamespace |
atomPubDraftNs
Atom Publishing Protocol (draft) XML namespace. |
static XmlNamespace |
atomPubNs
Deprecated. Use getAtomPubNs() instead. Use
atomPubDraftNs if you absolutely want the draft app namespace
and not the standard one. |
static java.lang.String |
atomPubStandard
Atom Publishing Protocol (final) namespace. |
static XmlNamespace |
atomPubStandardNs
Atom Publishing Protocol (final) XML namespace. |
static java.lang.String |
batch
Google data batch feeds namespace. |
static java.lang.String |
batchAlias
|
static XmlNamespace |
batchNs
|
static java.lang.String |
g
Google data (GD) namespace |
static java.lang.String |
gAlias
|
static java.lang.String |
gdataConfig
GData configuration namespace. |
static XmlNamespace |
gdataConfigNs
GData XML namespace. |
static java.lang.String |
gKind
Google data kind scheme. |
static XmlNamespace |
gNs
Google data XML namespace. |
static java.lang.String |
gPrefix
|
static java.lang.String |
gr
Google data runtime namespace. |
static XmlNamespace |
grNs
Google data runtime XML namespace. |
static java.lang.String |
openSearch
Deprecated. Use getOpenSearchNs().getUri() instead. Use
openSearch1_0 if you absolutely want the namespace of
opensearch 1.0 and not 1.1. |
static java.lang.String |
openSearch1_0
Amazon OpenSearch/RSS 1.0 namespace. |
static XmlNamespace |
openSearch1_0Ns
Amazon OpenSearch/RSS 1.0 XML namespace. |
static java.lang.String |
openSearch1_1
Amazon OpenSearch 1.1 namespace. |
static XmlNamespace |
openSearch1_1Ns
Amazon OpenSearch 1.1 XML namespace. |
static java.lang.String |
openSearchDesc
Deprecated. Use getOpenSearchDescNs().getUri() instead. |
static java.lang.String |
openSearchDesc1_1
Deprecated. Use getOpenSearchDescNs().getUri() instead. |
static XmlNamespace |
openSearchDesc1_1Ns
Deprecated. Use getOpenSearchDescNs() instead. |
static XmlNamespace |
openSearchDescNs
Deprecated. Use getOpenSearchDescNs() instead. |
static XmlNamespace |
openSearchNs
Deprecated. Use getOpenSearchNs() instead. Use
openSearch1_0Ns if you absolutely want the namespace of
opensearch 1.0. |
static XmlNamespace |
rssNs
RSS XML namespace. |
static java.lang.String |
xhtml
XHTML namespace. |
static XmlNamespace |
xhtmlNs
XHTML XML namespace. |
static java.lang.String |
xml
Standard XML namespace used for xml:lang , xml:base ,
... |
static XmlNamespace |
xmlNs
XML namespace |
Method Summary | |
---|---|
static java.lang.String |
deflate(java.lang.String uri)
Deflate a full GData URI using gPrefix (with "#") into a short name if possible. |
static java.lang.String |
deflate(java.lang.String uri,
java.lang.String namespace)
Deflate a full URI into a short name if possible. |
static XmlNamespace |
getAtomPubNs()
Returns the XML namespace associated with the Atom Publishing Protocol. |
static XmlNamespace |
getOpenSearchDescNs()
Returns the XML namespace associated with OpenSearch Description. |
static XmlNamespace |
getOpenSearchNs()
Returns the XML namespace associated with OpenSearch. |
static java.lang.String |
inflate(java.lang.String name)
Inflate a short name into a full GData URI using gPrefix (ending in "#"). |
static java.lang.String |
inflate(java.lang.String name,
java.lang.String namespace)
Inflate a short name into a full URI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String xml
xml:lang
, xml:base
,
...
public static final XmlNamespace xmlNs
public static final java.lang.String atom
public static final XmlNamespace atomNs
atom:
prefix.
public static final java.lang.String atomPubDraft
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.
public static final XmlNamespace atomPubDraftNs
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.
public static final java.lang.String atomPubStandard
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.
public static final XmlNamespace atomPubStandardNs
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.
@Deprecated public static final java.lang.String atomPub
getAtomPubNs().getUri()
instead. Use
atomPubDraft
if you absolutely want the draft app namespace
and not the standard one.
@Deprecated public static final XmlNamespace atomPubNs
getAtomPubNs()
instead. Use
atomPubDraftNs
if you absolutely want the draft app namespace
and not the standard one.
public static final XmlNamespace rssNs
public static final java.lang.String openSearch1_0
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.
public static final XmlNamespace openSearch1_0Ns
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.
public static final java.lang.String openSearch1_1
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.
public static final XmlNamespace openSearch1_1Ns
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.
@Deprecated public static final java.lang.String openSearch
getOpenSearchNs().getUri()
instead. Use
openSearch1_0
if you absolutely want the namespace of
opensearch 1.0 and not 1.1.
@Deprecated public static final XmlNamespace openSearchNs
getOpenSearchNs()
instead. Use
openSearch1_0Ns
if you absolutely want the namespace of
opensearch 1.0.
@Deprecated public static final java.lang.String openSearchDesc
getOpenSearchDescNs().getUri()
instead.
@Deprecated public static final XmlNamespace openSearchDescNs
getOpenSearchDescNs()
instead.
@Deprecated public static final java.lang.String openSearchDesc1_1
getOpenSearchDescNs().getUri()
instead.
@Deprecated public static final XmlNamespace openSearchDesc1_1Ns
getOpenSearchDescNs()
instead.
public static final java.lang.String xhtml
public static final XmlNamespace xhtmlNs
public static final java.lang.String gdataConfig
public static final XmlNamespace gdataConfigNs
public static final java.lang.String g
public static final java.lang.String gPrefix
public static final java.lang.String gAlias
public static final XmlNamespace gNs
public static final java.lang.String gr
public static final XmlNamespace grNs
public static final java.lang.String gKind
public static final java.lang.String batch
public static final java.lang.String batchAlias
public static final XmlNamespace batchNs
Method Detail |
---|
public static final XmlNamespace getAtomPubNs()
public static final XmlNamespace getOpenSearchNs()
public static final XmlNamespace getOpenSearchDescNs()
public static java.lang.String inflate(java.lang.String name, java.lang.String namespace)
name
- the namenamespace
- the base namespace for the name
public static java.lang.String inflate(java.lang.String name)
name
- the name
public static java.lang.String deflate(java.lang.String uri, java.lang.String namespace)
uri
- the full URInamespace
- the namespace namepublic static java.lang.String deflate(java.lang.String uri)
uri
- the full URI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |