| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.ExtensionPoint | ||
| ↳ | com.google.gdata.data.extensions.Money | ||
Describes money.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | AMOUNT | XML "amount" attribute name | |||||||||
| String | CURRENCYCODE | XML "currencyCode" attribute name | |||||||||
| String | XML_NAME | XML element name | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| amount | Amount | ||||||||||
| currencyCode | ISO4217 currency code | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default mutable constructor.
| |||||||||||
Immutable constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the amount.
| |||||||||||
Returns the ISO4217 currency code.
| |||||||||||
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
| |||||||||||
Returns whether it has the amount.
| |||||||||||
Returns whether it has the ISO4217 currency code.
| |||||||||||
Sets the amount.
| |||||||||||
Sets the ISO4217 currency code.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Consumes attributes from the attribute helper.
| |||||||||||
Puts attributes into the attribute generator.
| |||||||||||
Checks the attributes to see if there are any problems.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
XML "amount" attribute name
XML "currencyCode" attribute name
XML element name
Amount
ISO4217 currency code
Default mutable constructor.
Immutable constructor.
| amount | Amount. |
|---|---|
| currencyCode | ISO4217 currency code. |
| obj |
|---|
Returns the amount.
Returns the ISO4217 currency code.
Returns the extension description, specifying whether it is required, and whether it is repeatable.
| required | Whether it is required |
|---|---|
| repeatable | Whether it is repeatable |
Returns whether it has the amount.
Returns whether it has the ISO4217 currency code.
Sets the amount.
| amount | Amount or null to reset
|
|---|
Sets the ISO4217 currency code.
| currencyCode | ISO4217 currency code or null to reset
|
|---|
Consumes attributes from the attribute helper. May also use
consumeContent(boolean) to consume the element's text
content. Called from getHandler(ExtensionProfile, String, String, Attributes). Default implementation does
nothing, though generally this is discouraged unless there really are no
attributes.
| helper | Attribute helper |
|---|
| ParseException |
|---|
Puts attributes into the attribute generator. Called from
generate(XmlWriter, ExtensionProfile). Default implementation
does nothing, though generally this is discouraged unless there really are
no attributes.
| generator | Attribute generator |
|---|
Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.