Class TextListPropertyType

  • Direct Known Subclasses:
    CategoriesPropType, ResourcesPropType

    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>
     
    • Constructor Detail

      • TextListPropertyType

        public TextListPropertyType()
    • Method Detail

      • 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