StructuredDocumentTagCollection

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

NameTypeAccessDescription
countintReadReturns the number of structured document tags in the collection.

Methods

SignatureDescription
getById(id: int) → IStructuredDocumentTagReturns the structured document tag by identifier.
getByTitle(title: String) → IStructuredDocumentTagReturns the first structured document tag encountered in the collection with the specified title.
getByTag(tag: String) → IStructuredDocumentTagReturns 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() → intReturns the number of structured document tags in the collection.
get(index: int) → IStructuredDocumentTagReturns the structured document tag at the specified index.
iterator() → Iterator<IStructuredDocumentTag>Returns an enumerator object.

See Also