Class DbColumnDefinitionsElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • DbColumnDefinitionsElement

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

      • newDbColumnDefinitionElement

        public DbColumnDefinitionElement newDbColumnDefinitionElement​(String dbNameValue,
                                                                      double officeValueValue,
                                                                      String officeValueTypeValue)
        Create child element <db:column-definition>.
        Parameters:
        dbNameValue - the String value of DbNameAttribute, see @db:name at specification
        officeValueValue - the Double value of OfficeValueAttribute, see @office:value at specification
        officeValueTypeValue - the String value of OfficeValueTypeAttribute , see @office:value-type at specification Child element is new in Odf 1.2

        Child element is mandatory.

        Returns:
        the element <db:column-definition>
      • accept

        public void accept​(ElementVisitor visitor)
        Description copied from class: OdfElement
        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