com.spire.doc.collections
Class CollectionEx

java.lang.Object
  extended by com.spire.doc.OwnerHolder
      extended by 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.


Constructor Summary
protected CollectionEx(Document doc, OwnerHolder owner)
           
 
Method Summary
 int getCount()
          Gets the number of items in the collection.
 java.util.Iterator iterator()
          Returns an enumerator that iterates through a collection.
 
Methods inherited from class com.spire.doc.OwnerHolder
getDocument
 

Constructor Detail

CollectionEx

protected CollectionEx(Document doc,
                       OwnerHolder owner)
Method Detail

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: