| Modifier and Type | Field and Description |
|---|---|
| private final COSDictionary |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | PDStructureNode(COSDictionary
The existing dictionary. dictionary)Constructor for an existing structure node. |
| Modifier and Type | Method and Description |
|---|---|
| public void | appendKid(PDStructureElement
the structure element structureElement)Appends a structure element kid and sets the parent property (/P) to this. |
| protected void | |
| protected void | |
| public static PDStructureNode | Returns: the structure nodethe node dictionary node)Creates a node in the structure tree. |
| protected Object | Returns: the objectthe kid kid)Creates an object for a kid of this structure node. |
| private COSObjectable | |
| public COSDictionary | getCOSObject()
Implements org. Convert this standard java object to a COS object. |
| public List | Returns: a list of objects for the kids, never null.Returns a list of objects for the kids (K). |
| public String | |
| public void | insertBefore(PDStructureElement
the structure element newKid, Object the reference kid refKid)Inserts a structure element kid before a reference kid. |
| protected void | insertBefore(COSBase
the COS base newKid, Object the reference kid refKid)Inserts an COS base kid before a reference kid. |
| protected void | insertObjectableBefore(COSObjectable
the objectable newKid, Object the reference kid refKid)Inserts an objectable kid before a reference kid. |
| public boolean | Returns: true if the kid was removed, false otherwise.the structure element structureElement)Removes a structure element kid and if successful also removes the parent property (/P). |
| protected boolean | |
| protected boolean | Returns: true if the kid was removed, false otherwisethe objectable objectable)Removes an objectable kid. |
| public void |
| dictionary | back to summary |
|---|---|
| private final COSDictionary dictionary | |
| PDStructureNode | back to summary |
|---|---|
| protected PDStructureNode(String type) Constructor.
| |
| PDStructureNode | back to summary |
|---|---|
| protected PDStructureNode(COSDictionary dictionary) Constructor for an existing structure node.
| |
| appendKid | back to summary |
|---|---|
| public void appendKid(PDStructureElement structureElement) Appends a structure element kid and sets the parent property (/P) to this.
| |
| appendKid | back to summary |
|---|---|
| protected void appendKid(COSBase object) Appends a COS base kid.
| |
| appendObjectableKid | back to summary |
|---|---|
| protected void appendObjectableKid(COSObjectable objectable) Appends an objectable kid.
| |
| create | back to summary |
|---|---|
| public static PDStructureNode create(COSDictionary node) Creates a node in the structure tree. Can be either a structure tree root, or a structure element.
| |
| createObject | back to summary |
|---|---|
| protected Object createObject(COSBase kid) Creates an object for a kid of this structure node. The type of object depends on the type of the kid. It can be | |
| createObjectFromDic | back to summary |
|---|---|
| private COSObjectable createObjectFromDic(COSDictionary kidDic) | |
| getCOSObject | back to summary |
|---|---|
| public COSDictionary getCOSObject() Implements org. Doc from org. Convert this standard java object to a COS object.
| |
| getKids | back to summary |
|---|---|
| public List Returns a list of objects for the kids (K). | |
| getType | back to summary |
|---|---|
| public String getType() Returns the type.
| |
| insertBefore | back to summary |
|---|---|
| public void insertBefore(PDStructureElement newKid, Object refKid) Inserts a structure element kid before a reference kid.
| |
| insertBefore | back to summary |
|---|---|
| protected void insertBefore(COSBase newKid, Object refKid) Inserts an COS base kid before a reference kid. | |
| insertObjectableBefore | back to summary |
|---|---|
| protected void insertObjectableBefore(COSObjectable newKid, Object refKid) Inserts an objectable kid before a reference kid.
| |
| removeKid | back to summary |
|---|---|
| public boolean removeKid(PDStructureElement structureElement) Removes a structure element kid and if successful also removes the parent property (/P).
| |
| removeKid | back to summary |
|---|---|
| protected boolean removeKid(COSBase object) Removes a COS base kid.
| |
| removeObjectableKid | back to summary |
|---|---|
| protected boolean removeObjectableKid(COSObjectable objectable) Removes an objectable kid.
| |
| setKids | back to summary |
|---|---|
| public void setKids(List<Object> kids) Sets the kids (K). | |