StructuredDocumentTagCollection
Overview
StructuredDocumentTagCollection is a class in Aspose.Words FOSS for Java.
Inherits from: Iterable<IStructuredDocumentTag>.
A collection of IStructuredDocumentTag instances that represent the structured document tags in the specified range.
Edition status of its 9 listed members (a property and its accessor methods are listed separately, overloads once): 9 not yet exercised by a verified example.
This class declares 8 methods for StructuredDocumentTagCollection objects in Java programs.
Available methods include: get, getById, getByTag, getByTitle, getCount, iterator, remove, removeAt.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Returns the number of structured document tags in the collection. |
Methods
| Signature | Description |
|---|---|
getById(id: int) → IStructuredDocumentTag | Returns the structured document tag by identifier. |
getByTitle(title: String) → IStructuredDocumentTag | Returns the first structured document tag encountered in the collection with the specified title. |
getByTag(tag: String) → IStructuredDocumentTag | Returns the first structured document tag encountered in the collection with the specified tag. |
remove(id: int) | Removes the structured document tag with the specified identifier. |
removeAt(index: int) | Removes a structured document tag at the specified index. |
getCount() → int | Returns the number of structured document tags in the collection. |
get(index: int) → IStructuredDocumentTag | Returns the structured document tag at the specified index. |
iterator() → Iterator<IStructuredDocumentTag> | Returns an enumerator object. |