Class TextListPropertyType

java.lang.Object
ietf.params.xml.ns.icalendar_2.BasePropertyType
ietf.params.xml.ns.icalendar_2.TextListPropertyType
Direct Known Subclasses:
CategoriesPropType, ResourcesPropType, XBwCategoriesPropType

public class TextListPropertyType extends BasePropertyType

Java class for TextListPropertyType complex type.

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

 <complexType name="TextListPropertyType">
   <complexContent>
     <extension base="{urn:ietf:params:xml:ns:icalendar-2.0}BasePropertyType">
       <sequence>
         <element ref="{urn:ietf:params:xml:ns:icalendar-2.0}text" maxOccurs="unbounded"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • TextListPropertyType

      public TextListPropertyType()
  • Method Details

    • getText

      public List<String> getText()
      Gets the value of the text property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the text property.

      For example, to add a new item, do as follows:

          getText().add(newItem);
       

      Objects of the following type(s) are allowed in the list String