Class LocalNameType

java.lang.Object
ietf.params.xml.ns.timezone_service.LocalNameType

public class LocalNameType extends Object
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 Details

  • Constructor Details

    • LocalNameType

      public LocalNameType()
  • Method Details

    • getValue

      public String getValue()
      Gets the value of the value property.
      Returns:
      possible object is String
    • setValue

      public void setValue(String value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is String
    • getLang

      public String getLang()
      Gets the value of the lang property.
      Returns:
      possible object is String
    • setLang

      public void setLang(String value)
      Sets the value of the lang property.
      Parameters:
      value - allowed object is String
    • isPref

      public boolean isPref()
      Gets the value of the pref property.
      Returns:
      possible object is Boolean
    • setPref

      public void setPref(Boolean value)
      Sets the value of the pref property.
      Parameters:
      value - allowed object is Boolean