Class LanguageSpecificStringType

java.lang.Object
org.apache.cxf.ws.eventing.LanguageSpecificStringType

public class LanguageSpecificStringType extends Object

Java class for LanguageSpecificStringType complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="LanguageSpecificStringType">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
       <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </simpleContent>
 </complexType>
 
  • Field Details

    • value

      protected String value
    • lang

      protected String lang
       <?xml version="1.0" encoding="UTF-8"?><div xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema"><h3>lang (as an attribute name)</h3><p>
              denotes an attribute whose value
              is a language code for the natural language of the content of
              any element; its value is inherited.  This name is reserved
              by virtue of its definition in the XML specification.</p></div>
       
       <?xml version="1.0" encoding="UTF-8"?><div xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema"><h4>Notes</h4><p>
             Attempting to install the relevant ISO 2- and 3-letter
             codes as the enumerated possible values is probably never
             going to be a realistic possibility.  
            </p><p>
             See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
              http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
             and the IANA language subtag registry at
             <a href="http://www.iana.org/assignments/language-subtag-registry">
              http://www.iana.org/assignments/language-subtag-registry</a>
             for further information.
            </p><p>
             The union allows for the 'un-declaration' of xml:lang with
             the empty string.
            </p></div>
       
  • Constructor Details

    • LanguageSpecificStringType

      public LanguageSpecificStringType()
  • 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()
       <?xml version="1.0" encoding="UTF-8"?><div xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema"><h3>lang (as an attribute name)</h3><p>
              denotes an attribute whose value
              is a language code for the natural language of the content of
              any element; its value is inherited.  This name is reserved
              by virtue of its definition in the XML specification.</p></div>
       
       <?xml version="1.0" encoding="UTF-8"?><div xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema"><h4>Notes</h4><p>
             Attempting to install the relevant ISO 2- and 3-letter
             codes as the enumerated possible values is probably never
             going to be a realistic possibility.  
            </p><p>
             See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
              http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
             and the IANA language subtag registry at
             <a href="http://www.iana.org/assignments/language-subtag-registry">
              http://www.iana.org/assignments/language-subtag-registry</a>
             for further information.
            </p><p>
             The union allows for the 'un-declaration' of xml:lang with
             the empty string.
            </p></div>
       
      Returns:
      possible object is String
    • setLang

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

      public Map<QName,String> getOtherAttributes()
      Gets a map that contains attributes that aren't bound to any typed property on this class.

      the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

      Returns:
      always non-null