com.spire.doc.collections
Class CollectionEx
java.lang.Object
com.spire.doc.OwnerHolder
com.spire.doc.collections.CollectionEx
- All Implemented Interfaces:
- java.lang.Iterable
- Direct Known Subclasses:
- BookmarkCollection, CommentsCollection, DocumentSerializableCollection, FieldCollection, FormFieldCollection, PermissionCollection, TextBoxCollection
public abstract class CollectionEx
- extends OwnerHolder
- implements java.lang.Iterable
This class implements the Collection interface.
Method Summary |
int |
getCount()
Gets the number of items in the collection. |
java.util.Iterator |
iterator()
Returns an enumerator that iterates through a collection. |
CollectionEx
protected CollectionEx(Document doc,
OwnerHolder owner)
getCount
public int getCount()
- Gets the number of items in the collection.
- Returns:
- The count.
iterator
public java.util.Iterator iterator()
- Returns an enumerator that iterates through a collection.
An object that can be used to iterate through the collection.
- Returns: