| Access | Constructor and Description |
|---|---|
| public | PDStructureElement(String
The structure type. Constants are available in the
structureType, PDStructureNode StandardStructureTypes class.The parent structure node. parent)Constructor with required values. |
| public | PDStructureElement(COSDictionary
The existing dictionary. dic)Constructor for an existing structure element. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | appendKid(PDMarkedContent
the marked-content sequence with the MCID. markedContent)Appends a marked-content sequence kid. |
| public void | appendKid(PDMarkedContentReference
the marked-content reference markedContentReference)Appends a marked-content reference kid. |
| public void | |
| public void | attributeChanged(PDAttributeObject
the attribute object attributeObject)Updates the revision number for the given attribute object. |
| public String | |
| public String | |
| public Revisions | Returns: the attributes as a list, never null.Returns the attributes together with their revision numbers (A). |
| public Revisions | Returns: the class names as a list, never null.Returns the class names together with their revision numbers (C). |
| public String | |
| public String | |
| public String | |
| public PDPage | Returns: the page on which some or all of the content items designated by the K entry shall be renderedReturns the page on which some or all of the content items designated by the K entry shall be rendered (Pg). |
| public PDStructureNode | Returns: the parent in the structure hierarchyReturns the parent in the structure hierarchy (P). |
| public int | |
| private Map | |
| public String | Returns: the standard structure typeReturns the standard structure type, the actual structure type is mapped to in the role map. |
| private PDStructureTreeRoot | |
| public String | |
| public String | |
| public void | |
| public void | insertBefore(COSInteger
the marked-content identifier markedContentIdentifier, Object the reference kid refKid)Inserts a marked-content identifier kid before a reference kid. |
| public void | insertBefore(PDMarkedContentReference
the marked-content reference markedContentReference, Object the reference kid refKid)Inserts a marked-content reference kid before a reference kid. |
| public void | insertBefore(PDObjectReference
the object reference objectReference, Object the reference kid refKid)Inserts an object reference kid before a reference kid. |
| public void | |
| public void | |
| public void | removeKid(COSInteger
the marked-content identifier markedContentIdentifier)Removes a marked-content identifier kid. |
| public void | removeKid(PDMarkedContentReference
the marked-content reference markedContentReference)Removes a marked-content reference kid. |
| public void | |
| public void | |
| public void | setAlternateDescription(String
the alternate description alternateDescription)Sets the alternate description (Alt). |
| public void | setAttributes(Revisions<PDAttributeObject>
the attributes attributes)Sets the attributes together with their revision numbers (A). |
| public void | setClassNames(Revisions<String>
the class names classNames)Sets the class names together with their revision numbers (C). |
| public void | |
| public void | |
| public void | |
| public void | |
| public final void | setParent(PDStructureNode
the parent in the structure hierarchy structureNode)Sets the parent in the structure hierarchy (P). |
| public void | |
| public final void | |
| public void |
| TYPE | back to summary |
|---|---|
| public static final String TYPE | |
| PDStructureElement | back to summary |
|---|---|
| public PDStructureElement(String structureType, PDStructureNode parent) Constructor with required values.
| |
| PDStructureElement | back to summary |
|---|---|
| public PDStructureElement(COSDictionary dic) Constructor for an existing structure element.
| |
| addAttribute | back to summary |
|---|---|
| public void addAttribute(PDAttributeObject attributeObject) Adds an attribute object.
| |
| addClassName | back to summary |
|---|---|
| public void addClassName(String className) Adds a class name.
| |
| appendKid | back to summary |
|---|---|
| public void appendKid(int mcid) Appends a marked-content sequence kid.
| |
| appendKid | back to summary |
|---|---|
| public void appendKid(PDMarkedContent markedContent) Appends a marked-content sequence kid.
| |
| appendKid | back to summary |
|---|---|
| public void appendKid(PDMarkedContentReference markedContentReference) Appends a marked-content reference kid.
| |
| appendKid | back to summary |
|---|---|
| public void appendKid(PDObjectReference objectReference) Appends an object reference kid.
| |
| attributeChanged | back to summary |
|---|---|
| public void attributeChanged(PDAttributeObject attributeObject) Updates the revision number for the given attribute object.
| |
| getActualText | back to summary |
|---|---|
| public String getActualText() Returns the actual text (ActualText).
| |
| getAlternateDescription | back to summary |
|---|---|
| public String getAlternateDescription() Returns the alternate description (Alt).
| |
| getAttributes | back to summary |
|---|---|
| public Revisions Returns the attributes together with their revision numbers (A).
| |
| getClassNames | back to summary |
|---|---|
| public Revisions Returns the class names together with their revision numbers (C). | |
| getElementIdentifier | back to summary |
|---|---|
| public String getElementIdentifier() Returns the element identifier (ID).
| |
| getExpandedForm | back to summary |
|---|---|
| public String getExpandedForm() Returns the expanded form (E).
| |
| getLanguage | back to summary |
|---|---|
| public String getLanguage() Returns the language (Lang).
| |
| getPage | back to summary |
|---|---|
| public PDPage getPage() Returns the page on which some or all of the content items designated by the K entry shall be rendered (Pg).
| |
| getParent | back to summary |
|---|---|
| public PDStructureNode getParent() Returns the parent in the structure hierarchy (P).
| |
| getRevisionNumber | back to summary |
|---|---|
| public int getRevisionNumber() Returns the revision number (R).
| |
| getRoleMap | back to summary |
|---|---|
| private Map Returns the role map. | |
| getStandardStructureType | back to summary |
|---|---|
| public String getStandardStructureType() Returns the standard structure type, the actual structure type is mapped to in the role map.
| |
| getStructureTreeRoot | back to summary |
|---|---|
| private PDStructureTreeRoot getStructureTreeRoot() Returns the structure tree root.
| |
| getStructureType | back to summary |
|---|---|
| public String getStructureType() Returns the structure type (S).
| |
| getTitle | back to summary |
|---|---|
| public String getTitle() Returns the title (T).
| |
| incrementRevisionNumber | back to summary |
|---|---|
| public void incrementRevisionNumber() Increments th revision number. | |
| insertBefore | back to summary |
|---|---|
| public void insertBefore(COSInteger markedContentIdentifier, Object refKid) Inserts a marked-content identifier kid before a reference kid.
| |
| insertBefore | back to summary |
|---|---|
| public void insertBefore(PDMarkedContentReference markedContentReference, Object refKid) Inserts a marked-content reference kid before a reference kid.
| |
| insertBefore | back to summary |
|---|---|
| public void insertBefore(PDObjectReference objectReference, Object refKid) Inserts an object reference kid before a reference kid.
| |
| removeAttribute | back to summary |
|---|---|
| public void removeAttribute(PDAttributeObject attributeObject) Removes an attribute object.
| |
| removeClassName | back to summary |
|---|---|
| public void removeClassName(String className) Removes a class name.
| |
| removeKid | back to summary |
|---|---|
| public void removeKid(COSInteger markedContentIdentifier) Removes a marked-content identifier kid.
| |
| removeKid | back to summary |
|---|---|
| public void removeKid(PDMarkedContentReference markedContentReference) Removes a marked-content reference kid.
| |
| removeKid | back to summary |
|---|---|
| public void removeKid(PDObjectReference objectReference) Removes an object reference kid.
| |
| setActualText | back to summary |
|---|---|
| public void setActualText(String actualText) Sets the actual text (ActualText).
| |
| setAlternateDescription | back to summary |
|---|---|
| public void setAlternateDescription(String alternateDescription) Sets the alternate description (Alt).
| |
| setAttributes | back to summary |
|---|---|
| public void setAttributes(Revisions<PDAttributeObject> attributes) Sets the attributes together with their revision numbers (A).
| |
| setClassNames | back to summary |
|---|---|
| public void setClassNames(Revisions<String> classNames) Sets the class names together with their revision numbers (C). | |
| setElementIdentifier | back to summary |
|---|---|
| public void setElementIdentifier(String id) Sets the element identifier (ID).
| |
| setExpandedForm | back to summary |
|---|---|
| public void setExpandedForm(String expandedForm) Sets the expanded form (E).
| |
| setLanguage | back to summary |
|---|---|
| public void setLanguage(String language) Sets the language (Lang).
| |
| setPage | back to summary |
|---|---|
| public void setPage(PDPage page) Sets the page on which some or all of the content items designated by the K entry shall be rendered (Pg).
| |
| setParent | back to summary |
|---|---|
| public final void setParent(PDStructureNode structureNode) Sets the parent in the structure hierarchy (P).
| |
| setRevisionNumber | back to summary |
|---|---|
| public void setRevisionNumber(int revisionNumber) Sets the revision number (R).
| |
| setStructureType | back to summary |
|---|---|
| public final void setStructureType(String structureType) Sets the structure type (S).
| |
| setTitle | back to summary |
|---|---|
| public void setTitle(String title) Sets the title (T).
| |