|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jomc.ant.types.LocaleType
public class LocaleType
Datatype holding a language
, country
and variant
property.
Constructor Summary | |
---|---|
LocaleType()
Creates a new LocaleType instance. |
Method Summary | |
---|---|
LocaleType |
clone()
Creates and returns a copy of this object. |
String |
getCountry()
Gets the value of the country property. |
String |
getLanguage()
Gets the value of the language property. |
String |
getVariant()
Gets the value of the variant property. |
void |
setCountry(String value)
Sets the value of the country property. |
void |
setLanguage(String value)
Sets the value of the language property. |
void |
setVariant(String value)
Sets the value of the variant property. |
String |
toString()
Creates and returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LocaleType()
LocaleType
instance.
Method Detail |
---|
public final String getLanguage()
language
property.
language
property.setLanguage(java.lang.String)
public final void setLanguage(String value)
language
property.
value
- The new value of the language
property or null
.getLanguage()
public final String getCountry()
country
property.
country
property.setCountry(java.lang.String)
public final void setCountry(String value)
country
property.
value
- The new value of the country
property or null
.getCountry()
public final String getVariant()
variant
property.
variant
property.setVariant(java.lang.String)
public final void setVariant(String value)
variant
property.
value
- The new value of the variant
property or null
.getVariant()
public LocaleType clone()
clone
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |