|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.marketcetera.util.ws.wrappers.MarshalledLocale
public class MarshalledLocale
The marshalled form for a locale whose raw form is Locale.
| Constructor Summary | |
|---|---|
protected |
MarshalledLocale()
Creates a new marshalled form. |
|
MarshalledLocale(Locale locale)
Creates a new marshalled form for the locale given in its raw form. |
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
String |
getCountry()
Returns the receiver's country. |
String |
getLanguage()
Returns the receiver's language. |
String |
getVariant()
Returns the receiver's variant. |
int |
hashCode()
|
void |
setCountry(String country)
Set the receiver's country to the given one. |
void |
setLanguage(String language)
Set the receiver's language to the given one. |
void |
setVariant(String variant)
Set the receiver's variant to the given one. |
Locale |
toLocale()
Returns the raw form of the receiver. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MarshalledLocale(Locale locale)
locale - The locale, which may be null.protected MarshalledLocale()
| Method Detail |
|---|
public void setLanguage(String language)
language - The language.public String getLanguage()
public void setCountry(String country)
country - The country.public String getCountry()
public void setVariant(String variant)
variant - The variant.public String getVariant()
public Locale toLocale()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||