| java.lang.Object | |
| ↳ | com.google.gdata.model.QName |
Qualified name of a data model element or attribute. A qname instance is immutable.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | ANY_LOCALNAME | Special value for the QName local name that will match any local name. | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ANY_NAMESPACE | Special value for the QName namespace that will match any namespace. | ||||||||||
| localName | |||||||||||
| namespace | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Checks if this QName is a match for the other QName.
| |||||||||||
Returns
true if this qname has a local name that will
match any local name. | |||||||||||
Returns
true if this qname has a namespace value that will match
any namespace. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
Special value for the QName local name that will match any local name.
Special value for the QName namespace that will match any namespace.
| localName |
|---|
| other |
|---|
Checks if this QName is a match for the other QName. A QName is a match if it is null and if 1) the local namespace is ANY_NAMESPACE or the two namespaces are both null or have a matching uri and 2) the local name is ANY_LOCALNAME or the two local names are equal.
| o |
|---|
Returns true if this qname has a local name that will
match any local name.
Returns true if this qname has a namespace value that will match
any namespace.