WarningInfoCollection
Overview
WarningInfoCollection is a class in Aspose.Words FOSS for Java.
Inherits from: IWarningCallback, Iterable<WarningInfo>.
Represents a typed collection of WarningInfo objects.
Edition status of its 6 listed members (a property and its accessor methods are listed separately, overloads once): 6 not yet exercised by a verified example.
This class declares 5 methods for WarningInfoCollection objects in Java programs.
Available methods include: clear, get, getCount, iterator, warning.
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 | Gets the number of elements contained in the collection. |
Methods
| Signature | Description |
|---|---|
getCount() → int | Gets the number of elements contained in the collection. |
get(index: int) → WarningInfo | Gets an item at the specified index. |
iterator() → Iterator<WarningInfo> | Returns an iterator object that can be used to iterate over all items in the collection. |
clear() | Removes all elements from the collection. |
warning(info: WarningInfo) | Implements the IWarningCallback interface. |