Class TableDatabaseRangeElement
java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.odftoolkit.odfdom.pkg.OdfElement
org.odftoolkit.odfdom.dom.element.table.TableDatabaseRangeElement
- All Implemented Interfaces:
- Serializable,- Cloneable,- Element,- ElementTraversal,- EventTarget,- Node,- NodeList,- TypeInfo
DOM implementation of OpenDocument element <table:database-range>.
- See Also:
- 
Field SummaryFieldsFields inherited from class org.apache.xerces.dom.ElementNSImpllocalName, namespaceURIFields inherited from class org.apache.xerces.dom.ElementImplattributes, nameFields inherited from class org.apache.xerces.dom.ParentNodefirstChild, fNodeListCache, ownerDocumentFields inherited from class org.apache.xerces.dom.ChildNodenextSibling, previousSiblingFields inherited from class org.apache.xerces.dom.NodeImplDOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODEFields inherited from interface org.w3c.dom.NodeATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODEFields inherited from interface org.w3c.dom.TypeInfoDERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
- 
Constructor SummaryConstructorsConstructorDescriptionTableDatabaseRangeElement(OdfFileDom ownerDoc) Create the instance ofTableDatabaseRangeElement
- 
Method SummaryModifier and TypeMethodDescriptionvoidaccept(ElementVisitor visitor) Accept an visitor instance to allow the visitor to do some operations.Get the element nameReceives the value of the ODFDOM attribute representationTableContainsHeaderAttribute, See @table:contains-headerReceives the value of the ODFDOM attribute representationTableDisplayFilterButtonsAttribute, See @table:display-filter-buttonsReceives the value of the ODFDOM attribute representationTableHasPersistentDataAttribute, See @table:has-persistent-dataReceives the value of the ODFDOM attribute representationTableIsSelectionAttribute, See @table:is-selectionReceives the value of the ODFDOM attribute representationTableNameAttribute, See @table:nameReceives the value of the ODFDOM attribute representationTableOnUpdateKeepSizeAttribute, See @table:on-update-keep-sizeReceives the value of the ODFDOM attribute representationTableOnUpdateKeepStylesAttribute, See @table:on-update-keep-stylesReceives the value of the ODFDOM attribute representationTableOrientationAttribute, See @table:orientationReceives the value of the ODFDOM attribute representationTableRefreshDelayAttribute, See @table:refresh-delayReceives the value of the ODFDOM attribute representationTableTargetRangeAddressAttribute, See @table:target-range-addressnewTableDatabaseSourceQueryElement(String tableDatabaseNameValue, String tableQueryNameValue) Create child element <table:database-source-query>.newTableDatabaseSourceSqlElement(String tableDatabaseNameValue, String tableSqlStatementValue) Create child element <table:database-source-sql>.newTableDatabaseSourceTableElement(String tableDatabaseNameValue, String tableDatabaseTableNameValue) Create child element <table:database-source-table>.Create child element <table:filter>.Create child element <table:sort>.Create child element <table:subtotal-rules>.voidsetTableContainsHeaderAttribute(Boolean tableContainsHeaderValue) Sets the value of ODFDOM attribute representationTableContainsHeaderAttribute, See @table:contains-headervoidsetTableDisplayFilterButtonsAttribute(Boolean tableDisplayFilterButtonsValue) Sets the value of ODFDOM attribute representationTableDisplayFilterButtonsAttribute, See @table:display-filter-buttonsvoidsetTableHasPersistentDataAttribute(Boolean tableHasPersistentDataValue) Sets the value of ODFDOM attribute representationTableHasPersistentDataAttribute, See @table:has-persistent-datavoidsetTableIsSelectionAttribute(Boolean tableIsSelectionValue) Sets the value of ODFDOM attribute representationTableIsSelectionAttribute, See @table:is-selectionvoidsetTableNameAttribute(String tableNameValue) Sets the value of ODFDOM attribute representationTableNameAttribute, See @table:namevoidsetTableOnUpdateKeepSizeAttribute(Boolean tableOnUpdateKeepSizeValue) Sets the value of ODFDOM attribute representationTableOnUpdateKeepSizeAttribute, See @table:on-update-keep-sizevoidsetTableOnUpdateKeepStylesAttribute(Boolean tableOnUpdateKeepStylesValue) Sets the value of ODFDOM attribute representationTableOnUpdateKeepStylesAttribute, See @table:on-update-keep-stylesvoidsetTableOrientationAttribute(String tableOrientationValue) Sets the value of ODFDOM attribute representationTableOrientationAttribute, See @table:orientationvoidsetTableRefreshDelayAttribute(String tableRefreshDelayValue) Sets the value of ODFDOM attribute representationTableRefreshDelayAttribute, See @table:refresh-delayvoidsetTableTargetRangeAddressAttribute(String tableTargetRangeAddressValue) Sets the value of ODFDOM attribute representationTableTargetRangeAddressAttribute, See @table:target-range-addressMethods inherited from class org.odftoolkit.odfdom.pkg.OdfElementappendChild, appendUsingWhitespaceHandling, cloneElement, cloneNode, cloneNode, cloneNode, cloneOdfElement, componentSize, copyAttributes, countChildComponents, countDescendantComponents, countPrecedingSiblingElements, delete, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getChildElement, getChildElement, getComponent, getComponentRoot, getFirstChildElement, getLastChildElement, getNextSiblingElement, getOdfAttribute, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, getPreviousSiblingElement, getRepetition, getTextContent, hasAncestor, hasOdfAttribute, ignoredComponent, insert, insert, insertBefore, isComponentRoot, isIgnoredElement, isIgnoredElement, isRepeatable, markAsComponentRoot, markText, moveChildrenTo, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, receiveNode, receiveNode, removeChild, removeContent, removeSingleElement, replaceChild, selfAndDescendantTextIgnoredAsComponent, setComponent, setOdfAttribute, setOdfAttribute, setOdfAttributeValue, setRepetition, split, toStringMethods inherited from class org.apache.xerces.dom.ElementNSImplgetLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setTypeMethods inherited from class org.apache.xerces.dom.ElementImplgetAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getChildElementCount, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getLastElementChild, getNextElementSibling, getNodeName, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeDataMethods inherited from class org.apache.xerces.dom.ParentNodegetChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, item, setTextContent, synchronizeChildrenMethods inherited from class org.apache.xerces.dom.ChildNodegetNextSibling, getParentNode, getPreviousSiblingMethods inherited from class org.apache.xerces.dom.NodeImpladdEventListener, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserDataMethods inherited from class java.lang.Objectclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.w3c.dom.NodecompareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData
- 
Field Details- 
ELEMENT_NAME
 
- 
- 
Constructor Details- 
TableDatabaseRangeElementCreate the instance ofTableDatabaseRangeElement- Parameters:
- ownerDoc- The type is- OdfFileDom
 
 
- 
- 
Method Details- 
getOdfNameGet the element name- Specified by:
- getOdfNamein class- OdfElement
- Returns:
- return OdfNamethe name of element <table:database-range>.
 
- 
getTableContainsHeaderAttributeReceives the value of the ODFDOM attribute representationTableContainsHeaderAttribute, See @table:contains-header- Returns:
- - the Boolean, the value ornull, if the attribute is not set and no default value defined.
 
- 
setTableContainsHeaderAttributeSets the value of ODFDOM attribute representationTableContainsHeaderAttribute, See @table:contains-header- Parameters:
- tableContainsHeaderValue- The type is- Boolean
 
- 
getTableDisplayFilterButtonsAttributeReceives the value of the ODFDOM attribute representationTableDisplayFilterButtonsAttribute, See @table:display-filter-buttons- Returns:
- - the Boolean, the value ornull, if the attribute is not set and no default value defined.
 
- 
setTableDisplayFilterButtonsAttributeSets the value of ODFDOM attribute representationTableDisplayFilterButtonsAttribute, See @table:display-filter-buttons- Parameters:
- tableDisplayFilterButtonsValue- The type is- Boolean
 
- 
getTableHasPersistentDataAttributeReceives the value of the ODFDOM attribute representationTableHasPersistentDataAttribute, See @table:has-persistent-data- Returns:
- - the Boolean, the value ornull, if the attribute is not set and no default value defined.
 
- 
setTableHasPersistentDataAttributeSets the value of ODFDOM attribute representationTableHasPersistentDataAttribute, See @table:has-persistent-data- Parameters:
- tableHasPersistentDataValue- The type is- Boolean
 
- 
getTableIsSelectionAttributeReceives the value of the ODFDOM attribute representationTableIsSelectionAttribute, See @table:is-selection- Returns:
- - the Boolean, the value ornull, if the attribute is not set and no default value defined.
 
- 
setTableIsSelectionAttributeSets the value of ODFDOM attribute representationTableIsSelectionAttribute, See @table:is-selection- Parameters:
- tableIsSelectionValue- The type is- Boolean
 
- 
getTableNameAttributeReceives the value of the ODFDOM attribute representationTableNameAttribute, See @table:name- Returns:
- - the String, the value ornull, if the attribute is not set and no default value defined.
 
- 
setTableNameAttributeSets the value of ODFDOM attribute representationTableNameAttribute, See @table:name- Parameters:
- tableNameValue- The type is- String
 
- 
getTableOnUpdateKeepSizeAttributeReceives the value of the ODFDOM attribute representationTableOnUpdateKeepSizeAttribute, See @table:on-update-keep-size- Returns:
- - the Boolean, the value ornull, if the attribute is not set and no default value defined.
 
- 
setTableOnUpdateKeepSizeAttributeSets the value of ODFDOM attribute representationTableOnUpdateKeepSizeAttribute, See @table:on-update-keep-size- Parameters:
- tableOnUpdateKeepSizeValue- The type is- Boolean
 
- 
getTableOnUpdateKeepStylesAttributeReceives the value of the ODFDOM attribute representationTableOnUpdateKeepStylesAttribute, See @table:on-update-keep-styles- Returns:
- - the Boolean, the value ornull, if the attribute is not set and no default value defined.
 
- 
setTableOnUpdateKeepStylesAttributeSets the value of ODFDOM attribute representationTableOnUpdateKeepStylesAttribute, See @table:on-update-keep-styles- Parameters:
- tableOnUpdateKeepStylesValue- The type is- Boolean
 
- 
getTableOrientationAttributeReceives the value of the ODFDOM attribute representationTableOrientationAttribute, See @table:orientation- Returns:
- - the String, the value ornull, if the attribute is not set and no default value defined.
 
- 
setTableOrientationAttributeSets the value of ODFDOM attribute representationTableOrientationAttribute, See @table:orientation- Parameters:
- tableOrientationValue- The type is- String
 
- 
getTableRefreshDelayAttributeReceives the value of the ODFDOM attribute representationTableRefreshDelayAttribute, See @table:refresh-delay- Returns:
- - the String, the value ornull, if the attribute is not set and no default value defined.
 
- 
setTableRefreshDelayAttributeSets the value of ODFDOM attribute representationTableRefreshDelayAttribute, See @table:refresh-delay- Parameters:
- tableRefreshDelayValue- The type is- String
 
- 
getTableTargetRangeAddressAttributeReceives the value of the ODFDOM attribute representationTableTargetRangeAddressAttribute, See @table:target-range-addressAttribute is mandatory. - Returns:
- - the String, the value ornull, if the attribute is not set and no default value defined.
 
- 
setTableTargetRangeAddressAttributeSets the value of ODFDOM attribute representationTableTargetRangeAddressAttribute, See @table:target-range-address- Parameters:
- tableTargetRangeAddressValue- The type is- String
 
- 
newTableDatabaseSourceQueryElementpublic TableDatabaseSourceQueryElement newTableDatabaseSourceQueryElement(String tableDatabaseNameValue, String tableQueryNameValue) Create child element <table:database-source-query>.- Parameters:
- tableDatabaseNameValue- the- Stringvalue of- TableDatabaseNameAttribute, see @table:database-name at specification
- tableQueryNameValue- the- Stringvalue of- TableQueryNameAttribute, see @table:query-name at specification
- Returns:
- the element <table:database-source-query>
 
- 
newTableDatabaseSourceSqlElementpublic TableDatabaseSourceSqlElement newTableDatabaseSourceSqlElement(String tableDatabaseNameValue, String tableSqlStatementValue) Create child element <table:database-source-sql>.- Parameters:
- tableDatabaseNameValue- the- Stringvalue of- TableDatabaseNameAttribute, see @table:database-name at specification
- tableSqlStatementValue- the- Stringvalue of- TableSqlStatementAttribute, see @table:sql-statement at specification
- Returns:
- the element <table:database-source-sql>
 
- 
newTableDatabaseSourceTableElementpublic TableDatabaseSourceTableElement newTableDatabaseSourceTableElement(String tableDatabaseNameValue, String tableDatabaseTableNameValue) Create child element <table:database-source-table>.- Parameters:
- tableDatabaseNameValue- the- Stringvalue of- TableDatabaseNameAttribute, see @table:database-name at specification
- tableDatabaseTableNameValue- the- Stringvalue of- TableDatabaseTableNameAttribute, see @table:database-table-name at specification
- Returns:
- the element <table:database-source-table>
 
- 
newTableFilterElementCreate child element <table:filter>.- Returns:
- the element <table:filter>
 
- 
newTableSortElementCreate child element <table:sort>.- Returns:
- the element <table:sort>
 
- 
newTableSubtotalRulesElementCreate child element <table:subtotal-rules>.- Returns:
- the element <table:subtotal-rules>
 
- 
acceptAccept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.- Overrides:
- acceptin class- OdfElement
- Parameters:
- visitor- an instance of DefaultElementVisitor
 
 
-