| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.ValueConstruct | ||
| ↳ | com.google.gdata.data.webmastertools.RegionCodeValueConstruct | ||
Known Direct Subclasses
|
GData schema extension describing a node with a region code value. This class is abstract, derive from this class and define a default constructor which has the node name hardcoded, see http://www.unicode.org/cldr/data/diff/supplemental/territory_containment_un_m_49.html for a list of valid region codes.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | DEFAULT_REGION_CODE | Default value for the region code is US | |||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ValueConstruct
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs
ValueConstruct to represent the region code value. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Compares
RegionCodeValueConstruct objects based on the region code
value that they hold. | |||||||||||
Returns hash code which is based on the Region Code string representation.
| |||||||||||
Override
setValue(String) to validate that
the region code is not null. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ValueConstruct
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
Default value for the region code is US
Constructs ValueConstruct to represent the region code value.
| nodeName |
|---|
Compares RegionCodeValueConstruct objects based on the region code
value that they hold.
| rhs |
|---|
Returns hash code which is based on the Region Code string representation.
Override setValue(String) to validate that
the region code is not null.
| value | New value for the value construct or null to reset. |
|---|
| NullPointerException | if the value is null. |
|---|---|
| IllegalArgumentException |