| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.ValueConstruct | ||
| ↳ | com.google.gdata.data.webmastertools.BoolValueConstruct | ||
Known Direct Subclasses
|
GData schema extension describing a node with a boolean value. The class is abstract, derive from this class and define default constructor which hardcodes the node name.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolValue | Variable to cache the boolean value. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ValueConstruct
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs
ValueConstruct to represent boolean value. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Compares
BoolValueConstruct objects based on the boolean value
that they hold. | |||||||||||
Get boolean value.
| |||||||||||
Returns hash code which is based on the boolean string representation.
| |||||||||||
Set boolean value.
| |||||||||||
Override
setValue(String) to validate that
supplied value is xsd:boolean which is a standard way to represent boolean
in XML. | |||||||||||
|
[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
| |||||||||||
Variable to cache the boolean value.
Constructs ValueConstruct to represent boolean value.
| nodeName |
|---|
Compares BoolValueConstruct objects based on the boolean value
that they hold.
| rhs |
|---|
Get boolean value.
Returns hash code which is based on the boolean string representation.
Set boolean value.
| value |
|---|
Override setValue(String) to validate that
supplied value is xsd:boolean which is a standard way to represent boolean
in XML. xsd:boolean treats "true" and "1" as true and "false" and "0" as
false.
| value | New value for the value construct or null to reset. |
|---|
| NullPointerException | if the value is null. |
|---|---|
| IllegalArgumentException | if value is not valid xsd:boolean value. |