Package com.storedobject.office
Class ODT.SectionName
java.lang.Object
com.storedobject.office.ODT.SectionName
Represents a hierarchical structure of sections, where each section has a name,
a reference to its parent section, and a list of child sections. This class is
designed to parse and represent a document's section structure, typically extracted
from the ODT file.
- Author:
- Syam
-
Method Details
-
getName
-
getParent
Retrieves the parent section of this section.- Returns:
- The parent section of this section, or null if this is a top-level section.
-
getChildren
Retrieves the list of child sections associated with this section. The returned list is unmodifiable to prevent external modifications.- Returns:
- an unmodifiable list of child sections of type
SectionName.
-
getChildCount
public int getChildCount()Retrieves the total count of child sections under this section.- Returns:
- the number of child sections as an integer.
-
hashCode
-