001 // 002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004 // Any modifications to this file will be lost upon recompilation of the source schema. 005 // Generated on: 2011.11.16 at 07:37:02 PM EST 006 // 007 008 009 package jabber.server; 010 011 import javax.xml.bind.annotation.XmlAccessType; 012 import javax.xml.bind.annotation.XmlAccessorType; 013 import javax.xml.bind.annotation.XmlAttribute; 014 import javax.xml.bind.annotation.XmlRootElement; 015 import javax.xml.bind.annotation.XmlSchemaType; 016 import javax.xml.bind.annotation.XmlType; 017 import javax.xml.bind.annotation.XmlValue; 018 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 019 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 020 021 022 /** 023 * <p>Java class for anonymous complex type. 024 * 025 * <p>The following schema fragment specifies the expected content contained within this class. 026 * 027 * <pre> 028 * <complexType> 029 * <simpleContent> 030 * <extension base="<jabber:server>nonEmptyString"> 031 * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> 032 * </extension> 033 * </simpleContent> 034 * </complexType> 035 * </pre> 036 * 037 * 038 */ 039 @XmlAccessorType(XmlAccessType.FIELD) 040 @XmlType(name = "", propOrder = { 041 "value" 042 }) 043 @XmlRootElement(name = "body") 044 public class Body { 045 046 @XmlValue 047 protected String value; 048 @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") 049 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 050 @XmlSchemaType(name = "language") 051 protected String lang; 052 053 /** 054 * Gets the value of the value property. 055 * 056 * @return 057 * possible object is 058 * {@link String } 059 * 060 */ 061 public String getValue() { 062 return value; 063 } 064 065 /** 066 * Sets the value of the value property. 067 * 068 * @param value 069 * allowed object is 070 * {@link String } 071 * 072 */ 073 public void setValue(String value) { 074 this.value = value; 075 } 076 077 /** 078 * Gets the value of the lang property. 079 * 080 * @return 081 * possible object is 082 * {@link String } 083 * 084 */ 085 public String getLang() { 086 return lang; 087 } 088 089 /** 090 * Sets the value of the lang property. 091 * 092 * @param value 093 * allowed object is 094 * {@link String } 095 * 096 */ 097 public void setLang(String value) { 098 this.lang = value; 099 } 100 101 }