net.sourceforge.ota_tools.jaxb.ota2010a.ping.FormattedTextTextType Maven / Gradle / Ivy
The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.12.31 at 04:22:27 PM PST
//
package net.sourceforge.ota_tools.jaxb.ota2010a.ping;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Provides text and indicates whether it is formatted or not.
*
* Java class for FormattedTextTextType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="FormattedTextTextType">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}LanguageGroup"/>
* <attribute name="Formatted" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="TextFormat">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="PlainText"/>
* <enumeration value="HTML"/>
* </restriction>
* </simpleType>
* </attribute>
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FormattedTextTextType", propOrder = {
"value"
})
@XmlSeeAlso({
net.sourceforge.ota_tools.jaxb.ota2010a.ping.ParagraphType.ListItem.class,
net.sourceforge.ota_tools.jaxb.ota2010a.ping.TextDescriptionType.Description.class,
net.sourceforge.ota_tools.jaxb.ota2010a.ping.ImageDescriptionType.Description.class,
net.sourceforge.ota_tools.jaxb.ota2010a.ping.RateQualifierType.RateComments.RateComment.class
})
public class FormattedTextTextType {
@XmlValue
protected String value;
@XmlAttribute(name = "Formatted")
protected Boolean formatted;
@XmlAttribute(name = "TextFormat")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String textFormat;
@XmlAttribute(name = "Language")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String language;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the formatted property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getFormatted() {
return formatted;
}
/**
* Sets the value of the formatted property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setFormatted(Boolean value) {
this.formatted = value;
}
/**
* Gets the value of the textFormat property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTextFormat() {
return textFormat;
}
/**
* Sets the value of the textFormat property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTextFormat(String value) {
this.textFormat = value;
}
/**
* Gets the value of the language property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLanguage() {
return language;
}
/**
* Sets the value of the language property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLanguage(String value) {
this.language = value;
}
}