|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.shared.Paragraph.Choice
public static class Paragraph.Choice
Schema fragment(s) for this class:
<xs:choice xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" minOccurs="0" maxOccurs="unbounded">
<xs:element type="ns:FormattedTextTextType" name="Text"/>
<xs:element type="xs:string" name="Image"/>
<xs:element type="xs:string" name="URL"/>
<xs:element name="ListItem">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="ns:FormattedTextTextType">
<xs:attribute type="xs:int" use="optional" name="ListItem"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:choice>
| Constructor Summary | |
|---|---|
Paragraph.Choice()
|
|
| Method Summary | |
|---|---|
void |
clearChoiceSelect()
Clear the choice selection. |
java.lang.String |
getImage()
Get the 'Image' element value. |
FormattedTextText |
getListItemFormattedTextText()
Get the extension value. |
java.lang.Integer |
getListItemListItem()
Get the 'ListItem' attribute value. |
FormattedTextText |
getText()
Get the 'Text' element value. |
java.lang.String |
getURL()
Get the 'URL' element value. |
boolean |
ifImage()
Check if Image is current selection for choice. |
boolean |
ifListItem()
Check if ListItem is current selection for choice. |
boolean |
ifText()
Check if Text is current selection for choice. |
boolean |
ifURL()
Check if URL is current selection for choice. |
void |
setImage(java.lang.String image)
Set the 'Image' element value. |
void |
setListItemFormattedTextText(FormattedTextText listItemFormattedTextText)
Set the extension value. |
void |
setListItemListItem(java.lang.Integer listItemListItem)
Set the 'ListItem' attribute value. |
void |
setText(FormattedTextText text)
Set the 'Text' element value. |
void |
setURL(java.lang.String URL)
Set the 'URL' element value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Paragraph.Choice()
| Method Detail |
|---|
public void clearChoiceSelect()
public boolean ifText()
true if selection, false if notpublic FormattedTextText getText()
public void setText(FormattedTextText text)
text - public boolean ifImage()
true if selection, false if notpublic java.lang.String getImage()
public void setImage(java.lang.String image)
image - public boolean ifURL()
true if selection, false if notpublic java.lang.String getURL()
public void setURL(java.lang.String URL)
URL - public boolean ifListItem()
true if selection, false if notpublic FormattedTextText getListItemFormattedTextText()
public void setListItemFormattedTextText(FormattedTextText listItemFormattedTextText)
listItemFormattedTextText - public java.lang.Integer getListItemListItem()
public void setListItemListItem(java.lang.Integer listItemListItem)
listItemListItem -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||