org.ota.shared
Class FormattedTextText

java.lang.Object
  extended by org.ota.shared.FormattedTextText
Direct Known Subclasses:
CustomQuestion.ProvidedAnswerChoices, EventReport.GeneralEventInfo.Dates.Date.LocationCategories.Category

public class FormattedTextText
extends java.lang.Object

Provides text and indicates whether it is formatted or not. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FormattedTextTextType">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attribute type="xs:boolean" use="optional" name="Formatted"/>
       <xs:attributeGroup ref="ns:LanguageGroup"/>
       <xs:attribute use="optional" name="TextFormat">
         <xs:simpleType>
           <!-- Reference to inner class TextFormat -->
         </xs:simpleType>
       </xs:attribute>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="LanguageGroup">
   <xs:attribute type="xs:string" use="optional" name="Language"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class FormattedTextText.TextFormat
          Schema fragment(s) for this class:
 
Constructor Summary
FormattedTextText()
           
 
Method Summary
 java.lang.Boolean getFormatted()
          Get the 'Formatted' attribute value.
 java.lang.String getLanguage()
          Get the 'Language' attribute value.
 java.lang.String getString()
          Get the extension value.
 FormattedTextText.TextFormat getTextFormat()
          Get the 'TextFormat' attribute value.
 void setFormatted(java.lang.Boolean formatted)
          Set the 'Formatted' attribute value.
 void setLanguage(java.lang.String language)
          Set the 'Language' attribute value.
 void setString(java.lang.String string)
          Set the extension value.
 void setTextFormat(FormattedTextText.TextFormat textFormat)
          Set the 'TextFormat' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormattedTextText

public FormattedTextText()
Method Detail

getString

public java.lang.String getString()
Get the extension value.

Returns:
value

setString

public void setString(java.lang.String string)
Set the extension value.

Parameters:
string -

getFormatted

public java.lang.Boolean getFormatted()
Get the 'Formatted' attribute value. Textual information, which may be formatted as a line of information, or unformatted, as a paragraph of text.

Returns:
value

setFormatted

public void setFormatted(java.lang.Boolean formatted)
Set the 'Formatted' attribute value. Textual information, which may be formatted as a line of information, or unformatted, as a paragraph of text.

Parameters:
formatted -

getLanguage

public java.lang.String getLanguage()
Get the 'Language' attribute value. Language identification.

Returns:
value

setLanguage

public void setLanguage(java.lang.String language)
Set the 'Language' attribute value. Language identification.

Parameters:
language -

getTextFormat

public FormattedTextText.TextFormat getTextFormat()
Get the 'TextFormat' attribute value. Indicates the format of text used in the description e.g. unformatted or html.

Returns:
value

setTextFormat

public void setTextFormat(FormattedTextText.TextFormat textFormat)
Set the 'TextFormat' attribute value. Indicates the format of text used in the description e.g. unformatted or html.

Parameters:
textFormat -