Class FormListPropertyElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • FormListPropertyElement

        public FormListPropertyElement​(OdfFileDom ownerDoc)
        Create the instance of FormListPropertyElement
        Parameters:
        ownerDoc - The type is OdfFileDom
    • Method Detail

      • getFormPropertyNameAttribute

        public String getFormPropertyNameAttribute()
        Receives the value of the ODFDOM attribute representation FormPropertyNameAttribute , See @form:property-name

        Attribute is mandatory.

        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setFormPropertyNameAttribute

        public void setFormPropertyNameAttribute​(String formPropertyNameValue)
        Sets the value of ODFDOM attribute representation FormPropertyNameAttribute , See @form:property-name
        Parameters:
        formPropertyNameValue - The type is String
      • getOfficeValueTypeAttribute

        public String getOfficeValueTypeAttribute()
        Receives the value of the ODFDOM attribute representation OfficeValueTypeAttribute , See @office:value-type

        Attribute is mandatory.

        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setOfficeValueTypeAttribute

        public void setOfficeValueTypeAttribute​(String officeValueTypeValue)
        Sets the value of ODFDOM attribute representation OfficeValueTypeAttribute , See @office:value-type
        Parameters:
        officeValueTypeValue - The type is String
      • newFormListValueElement

        public FormListValueElement newFormListValueElement​(boolean officeBooleanValueValue,
                                                            String officeDateValueValue,
                                                            String officeStringValueValue,
                                                            String officeTimeValueValue,
                                                            double officeValueValue)
        Create child element <form:list-value>.
        Parameters:
        officeBooleanValueValue - the Boolean value of OfficeBooleanValueAttribute, see @office:boolean-value at specification
        officeDateValueValue - the String value of OfficeDateValueAttribute , see @office:date-value at specification
        officeStringValueValue - the String value of OfficeStringValueAttribute , see @office:string-value at specification
        officeTimeValueValue - the String value of OfficeTimeValueAttribute , see @office:time-value at specification
        officeValueValue - the Double value of OfficeValueAttribute, see @office:value at specification
        Returns:
        the element <form:list-value>
      • accept

        public void accept​(ElementVisitor visitor)
        Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.
        Overrides:
        accept in class OdfElement
        Parameters:
        visitor - an instance of DefaultElementVisitor