Class DbKeysElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • DbKeysElement

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

      • newDbKeyElement

        public DbKeyElement newDbKeyElement​(String dbTypeValue)
        Create child element <db:key>.
        Parameters:
        dbTypeValue - the String value of DbTypeAttribute, see @db:type at specification Child element is new in Odf 1.2

        Child element is mandatory.

        Returns:
        the element <db:key>
      • 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