Class DbQueriesElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • DbQueriesElement

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

      • newDbQueryElement

        public DbQueryElement newDbQueryElement​(String dbCommandValue,
                                                String dbNameValue)
        Create child element <db:query>.
        Parameters:
        dbCommandValue - the String value of DbCommandAttribute, see @db:command at specification
        dbNameValue - the String value of DbNameAttribute, see @db:name at specification Child element is new in Odf 1.2
        Returns:
        the element <db:query>
      • 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