Class TextAlphabeticalIndexSourceElement
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.text.TextAlphabeticalIndexSourceElement
- All Implemented Interfaces:
Serializable, Cloneable, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo
DOM implementation of OpenDocument element <text:alphabetical-index-source>.
- See Also:
-
Field Summary
FieldsFields inherited from class ElementNSImpl
localName, namespaceURIFields inherited from class ElementImpl
attributes, nameFields inherited from class ParentNode
firstChild, fNodeListCache, ownerDocumentFields inherited from class ChildNode
nextSibling, previousSiblingFields inherited from class NodeImpl
DOCUMENT_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 Node
ATTRIBUTE_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 TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION -
Constructor Summary
ConstructorsConstructorDescriptionTextAlphabeticalIndexSourceElement(OdfFileDom ownerDoc) Create the instance ofTextAlphabeticalIndexSourceElement -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ElementVisitor visitor) Accept an visitor instance to allow the visitor to do some operations.Receives the value of the ODFDOM attribute representationFoCountryAttribute, See @fo:countryReceives the value of the ODFDOM attribute representationFoLanguageAttribute, See @fo:languageReceives the value of the ODFDOM attribute representationFoScriptAttribute, See @fo:scriptGet the element nameReceives the value of the ODFDOM attribute representationStyleRfcLanguageTagAttribute, See @style:rfc-language-tagReceives the value of the ODFDOM attribute representationTextAlphabeticalSeparatorsAttribute, See @text:alphabetical-separatorsReceives the value of the ODFDOM attribute representationTextCapitalizeEntriesAttribute, See @text:capitalize-entriesReceives the value of the ODFDOM attribute representationTextCombineEntriesAttribute, See @text:combine-entriesReceives the value of the ODFDOM attribute representationTextCombineEntriesWithDashAttribute, See @text:combine-entries-with-dashReceives the value of the ODFDOM attribute representationTextCombineEntriesWithPpAttribute, See @text:combine-entries-with-ppReceives the value of the ODFDOM attribute representationTextCommaSeparatedAttribute, See @text:comma-separatedReceives the value of the ODFDOM attribute representationTextIgnoreCaseAttribute, See @text:ignore-caseReceives the value of the ODFDOM attribute representationTextIndexScopeAttribute, See @text:index-scopeReceives the value of the ODFDOM attribute representationTextMainEntryStyleNameAttribute, See @text:main-entry-style-nameReceives the value of the ODFDOM attribute representationTextRelativeTabStopPositionAttribute, See @text:relative-tab-stop-positionReceives the value of the ODFDOM attribute representationTextSortAlgorithmAttribute, See @text:sort-algorithmReceives the value of the ODFDOM attribute representationTextUseKeysAsEntriesAttribute, See @text:use-keys-as-entriesnewTextAlphabeticalIndexEntryTemplateElement(int textOutlineLevelValue, String textStyleNameValue) Create child element <text:alphabetical-index-entry-template>.Create child element <text:index-title-template>.voidsetFoCountryAttribute(String foCountryValue) Sets the value of ODFDOM attribute representationFoCountryAttribute, See @fo:countryvoidsetFoLanguageAttribute(String foLanguageValue) Sets the value of ODFDOM attribute representationFoLanguageAttribute, See @fo:languagevoidsetFoScriptAttribute(String foScriptValue) Sets the value of ODFDOM attribute representationFoScriptAttribute, See @fo:scriptvoidsetStyleRfcLanguageTagAttribute(String styleRfcLanguageTagValue) Sets the value of ODFDOM attribute representationStyleRfcLanguageTagAttribute, See @style:rfc-language-tagvoidsetTextAlphabeticalSeparatorsAttribute(Boolean textAlphabeticalSeparatorsValue) Sets the value of ODFDOM attribute representationTextAlphabeticalSeparatorsAttribute, See @text:alphabetical-separatorsvoidsetTextCapitalizeEntriesAttribute(Boolean textCapitalizeEntriesValue) Sets the value of ODFDOM attribute representationTextCapitalizeEntriesAttribute, See @text:capitalize-entriesvoidsetTextCombineEntriesAttribute(Boolean textCombineEntriesValue) Sets the value of ODFDOM attribute representationTextCombineEntriesAttribute, See @text:combine-entriesvoidsetTextCombineEntriesWithDashAttribute(Boolean textCombineEntriesWithDashValue) Sets the value of ODFDOM attribute representationTextCombineEntriesWithDashAttribute, See @text:combine-entries-with-dashvoidsetTextCombineEntriesWithPpAttribute(Boolean textCombineEntriesWithPpValue) Sets the value of ODFDOM attribute representationTextCombineEntriesWithPpAttribute, See @text:combine-entries-with-ppvoidsetTextCommaSeparatedAttribute(Boolean textCommaSeparatedValue) Sets the value of ODFDOM attribute representationTextCommaSeparatedAttribute, See @text:comma-separatedvoidsetTextIgnoreCaseAttribute(Boolean textIgnoreCaseValue) Sets the value of ODFDOM attribute representationTextIgnoreCaseAttribute, See @text:ignore-casevoidsetTextIndexScopeAttribute(String textIndexScopeValue) Sets the value of ODFDOM attribute representationTextIndexScopeAttribute, See @text:index-scopevoidsetTextMainEntryStyleNameAttribute(String textMainEntryStyleNameValue) Sets the value of ODFDOM attribute representationTextMainEntryStyleNameAttribute, See @text:main-entry-style-namevoidsetTextRelativeTabStopPositionAttribute(Boolean textRelativeTabStopPositionValue) Sets the value of ODFDOM attribute representationTextRelativeTabStopPositionAttribute, See @text:relative-tab-stop-positionvoidsetTextSortAlgorithmAttribute(String textSortAlgorithmValue) Sets the value of ODFDOM attribute representationTextSortAlgorithmAttribute, See @text:sort-algorithmvoidsetTextUseKeysAsEntriesAttribute(Boolean textUseKeysAsEntriesValue) Sets the value of ODFDOM attribute representationTextUseKeysAsEntriesAttribute, See @text:use-keys-as-entriesMethods inherited from class OdfElement
appendChild, 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 ElementNSImpl
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setTypeMethods inherited from class ElementImpl
getAttribute, 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 ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, item, setTextContent, synchronizeChildrenMethods inherited from class ChildNode
getNextSibling, getParentNode, getPreviousSiblingMethods inherited from class NodeImpl
addEventListener, 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 Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Node
compareDocumentPosition, 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
-
TextAlphabeticalIndexSourceElement
Create the instance ofTextAlphabeticalIndexSourceElement- Parameters:
ownerDoc- The type isOdfFileDom
-
-
Method Details
-
getOdfName
Get the element name- Specified by:
getOdfNamein classOdfElement- Returns:
- return
OdfNamethe name of element <text:alphabetical-index-source>.
-
getFoCountryAttribute
Receives the value of the ODFDOM attribute representationFoCountryAttribute, See @fo:country- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setFoCountryAttribute
Sets the value of ODFDOM attribute representationFoCountryAttribute, See @fo:country- Parameters:
foCountryValue- The type isString
-
getFoLanguageAttribute
Receives the value of the ODFDOM attribute representationFoLanguageAttribute, See @fo:language- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setFoLanguageAttribute
Sets the value of ODFDOM attribute representationFoLanguageAttribute, See @fo:language- Parameters:
foLanguageValue- The type isString
-
getFoScriptAttribute
Receives the value of the ODFDOM attribute representationFoScriptAttribute, See @fo:script- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setFoScriptAttribute
Sets the value of ODFDOM attribute representationFoScriptAttribute, See @fo:script- Parameters:
foScriptValue- The type isString
-
getStyleRfcLanguageTagAttribute
Receives the value of the ODFDOM attribute representationStyleRfcLanguageTagAttribute, See @style:rfc-language-tag- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setStyleRfcLanguageTagAttribute
Sets the value of ODFDOM attribute representationStyleRfcLanguageTagAttribute, See @style:rfc-language-tag- Parameters:
styleRfcLanguageTagValue- The type isString
-
getTextAlphabeticalSeparatorsAttribute
Receives the value of the ODFDOM attribute representationTextAlphabeticalSeparatorsAttribute, See @text:alphabetical-separators- Returns:
- - the
Boolean, the value ornull, if the attribute is not set and no default value defined.
-
setTextAlphabeticalSeparatorsAttribute
Sets the value of ODFDOM attribute representationTextAlphabeticalSeparatorsAttribute, See @text:alphabetical-separators- Parameters:
textAlphabeticalSeparatorsValue- The type isBoolean
-
getTextCapitalizeEntriesAttribute
Receives the value of the ODFDOM attribute representationTextCapitalizeEntriesAttribute, See @text:capitalize-entries- Returns:
- - the
Boolean, the value ornull, if the attribute is not set and no default value defined.
-
setTextCapitalizeEntriesAttribute
Sets the value of ODFDOM attribute representationTextCapitalizeEntriesAttribute, See @text:capitalize-entries- Parameters:
textCapitalizeEntriesValue- The type isBoolean
-
getTextCombineEntriesAttribute
Receives the value of the ODFDOM attribute representationTextCombineEntriesAttribute, See @text:combine-entries- Returns:
- - the
Boolean, the value ornull, if the attribute is not set and no default value defined.
-
setTextCombineEntriesAttribute
Sets the value of ODFDOM attribute representationTextCombineEntriesAttribute, See @text:combine-entries- Parameters:
textCombineEntriesValue- The type isBoolean
-
getTextCombineEntriesWithDashAttribute
Receives the value of the ODFDOM attribute representationTextCombineEntriesWithDashAttribute, See @text:combine-entries-with-dash- Returns:
- - the
Boolean, the value ornull, if the attribute is not set and no default value defined.
-
setTextCombineEntriesWithDashAttribute
Sets the value of ODFDOM attribute representationTextCombineEntriesWithDashAttribute, See @text:combine-entries-with-dash- Parameters:
textCombineEntriesWithDashValue- The type isBoolean
-
getTextCombineEntriesWithPpAttribute
Receives the value of the ODFDOM attribute representationTextCombineEntriesWithPpAttribute, See @text:combine-entries-with-pp- Returns:
- - the
Boolean, the value ornull, if the attribute is not set and no default value defined.
-
setTextCombineEntriesWithPpAttribute
Sets the value of ODFDOM attribute representationTextCombineEntriesWithPpAttribute, See @text:combine-entries-with-pp- Parameters:
textCombineEntriesWithPpValue- The type isBoolean
-
getTextCommaSeparatedAttribute
Receives the value of the ODFDOM attribute representationTextCommaSeparatedAttribute, See @text:comma-separated- Returns:
- - the
Boolean, the value ornull, if the attribute is not set and no default value defined.
-
setTextCommaSeparatedAttribute
Sets the value of ODFDOM attribute representationTextCommaSeparatedAttribute, See @text:comma-separated- Parameters:
textCommaSeparatedValue- The type isBoolean
-
getTextIgnoreCaseAttribute
Receives the value of the ODFDOM attribute representationTextIgnoreCaseAttribute, See @text:ignore-case- Returns:
- - the
Boolean, the value ornull, if the attribute is not set and no default value defined.
-
setTextIgnoreCaseAttribute
Sets the value of ODFDOM attribute representationTextIgnoreCaseAttribute, See @text:ignore-case- Parameters:
textIgnoreCaseValue- The type isBoolean
-
getTextIndexScopeAttribute
Receives the value of the ODFDOM attribute representationTextIndexScopeAttribute, See @text:index-scope- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setTextIndexScopeAttribute
Sets the value of ODFDOM attribute representationTextIndexScopeAttribute, See @text:index-scope- Parameters:
textIndexScopeValue- The type isString
-
getTextMainEntryStyleNameAttribute
Receives the value of the ODFDOM attribute representationTextMainEntryStyleNameAttribute, See @text:main-entry-style-name- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setTextMainEntryStyleNameAttribute
Sets the value of ODFDOM attribute representationTextMainEntryStyleNameAttribute, See @text:main-entry-style-name- Parameters:
textMainEntryStyleNameValue- The type isString
-
getTextRelativeTabStopPositionAttribute
Receives the value of the ODFDOM attribute representationTextRelativeTabStopPositionAttribute, See @text:relative-tab-stop-position- Returns:
- - the
Boolean, the value ornull, if the attribute is not set and no default value defined.
-
setTextRelativeTabStopPositionAttribute
Sets the value of ODFDOM attribute representationTextRelativeTabStopPositionAttribute, See @text:relative-tab-stop-position- Parameters:
textRelativeTabStopPositionValue- The type isBoolean
-
getTextSortAlgorithmAttribute
Receives the value of the ODFDOM attribute representationTextSortAlgorithmAttribute, See @text:sort-algorithm- Returns:
- - the
String, the value ornull, if the attribute is not set and no default value defined.
-
setTextSortAlgorithmAttribute
Sets the value of ODFDOM attribute representationTextSortAlgorithmAttribute, See @text:sort-algorithm- Parameters:
textSortAlgorithmValue- The type isString
-
getTextUseKeysAsEntriesAttribute
Receives the value of the ODFDOM attribute representationTextUseKeysAsEntriesAttribute, See @text:use-keys-as-entries- Returns:
- - the
Boolean, the value ornull, if the attribute is not set and no default value defined.
-
setTextUseKeysAsEntriesAttribute
Sets the value of ODFDOM attribute representationTextUseKeysAsEntriesAttribute, See @text:use-keys-as-entries- Parameters:
textUseKeysAsEntriesValue- The type isBoolean
-
newTextAlphabeticalIndexEntryTemplateElement
public TextAlphabeticalIndexEntryTemplateElement newTextAlphabeticalIndexEntryTemplateElement(int textOutlineLevelValue, String textStyleNameValue) Create child element <text:alphabetical-index-entry-template>.- Parameters:
textOutlineLevelValue- theIntegervalue ofTextOutlineLevelAttribute, see @text:outline-level at specificationtextStyleNameValue- theStringvalue ofTextStyleNameAttribute, see @text:style-name at specification- Returns:
- the element <text:alphabetical-index-entry-template>
-
newTextIndexTitleTemplateElement
Create child element <text:index-title-template>.- Returns:
- the element <text:index-title-template>
-
accept
Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.- Overrides:
acceptin classOdfElement- Parameters:
visitor- an instance of DefaultElementVisitor
-