Class LocalNameType
java.lang.Object
ietf.params.xml.ns.timezone_service.LocalNameType
Defines one or more localized names that are used when a
timezone identifier needs to be presented to a user.
The xml:lang attribute is used to indicate the language
associated with each value.
If multiple names are provided for the same locale the preferred
name can be flagged with the pref attribute.
Java class for LocalNameType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LocalNameType">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
<attribute name="pref" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLang()Gets the value of the lang property.getValue()Gets the value of the value property.booleanisPref()Gets the value of the pref property.voidSets the value of the lang property.voidSets the value of the pref property.voidSets the value of the value property.
-
Field Details
-
value
-
lang
-
pref
-
-
Constructor Details
-
LocalNameType
public LocalNameType()
-
-
Method Details
-
getValue
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isString
-
getLang
Gets the value of the lang property.- Returns:
- possible object is
String
-
setLang
Sets the value of the lang property.- Parameters:
value- allowed object isString
-
isPref
public boolean isPref()Gets the value of the pref property.- Returns:
- possible object is
Boolean
-
setPref
Sets the value of the pref property.- Parameters:
value- allowed object isBoolean
-