| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | com.google.gdata.data.webmastertools.DomainPreference | |
DomainPreference is an enumerated type that indicates the preferred domain to use for a concrete site for Webmaster tools. The possibilities are:
- PREFERWWW: domain.com and www.domain.com should be associated
and www.domain.com is preferred
- PREFERNOWWW: domain.com and www.domain.com should be associated
domain.com is preferred
- NONE: there should be no association
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DomainPreference | NONE | ||||||||||
| DomainPreference | PREFER_NO_WWW | ||||||||||
| DomainPreference | PREFER_WWW | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| value | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Parse a string and return a domain preference.
| |||||||||||
Get the default value for the domain preference.
| |||||||||||
Returns the string representation of the Domain Preference.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
Parse a string and return a domain preference.
| value | A string representing a domain preference |
|---|
| IllegalArgumentException | if the parameter is not a valid DomainPreference string |
|---|
Get the default value for the domain preference.
Returns the string representation of the Domain Preference.