com.spire.doc.collections
Class DocumentSubsetCollection

java.lang.Object
  extended by com.spire.doc.OwnerHolder
      extended by com.spire.doc.collections.DocumentSubsetCollection
All Implemented Interfaces:
ICollectionBase, IDocumentObjectCollection, java.lang.Iterable
Direct Known Subclasses:
ParagraphCollection, TableCollection

public abstract class DocumentSubsetCollection
extends OwnerHolder
implements IDocumentObjectCollection

Represents a subset from collection of specified type entities.


Nested Class Summary
static class DocumentSubsetCollection.SubSetEnumerator
          Represents a internal enumerator for EntitySubSetCollection.
 
Method Summary
 void clear()
          Removes all entities
 DocumentObject get(int index)
          Gets the at the specified index.
 int getCount()
          Gets the count.
 Document getDocument()
          Gets the document.
 DocumentObject getOwner()
          Gets the owner.
 java.util.Iterator iterator()
          Returns an enumerator that iterates through a collection.
 

Method Detail

getDocument

public Document getDocument()
Gets the document.

Overrides:
getDocument in class OwnerHolder
Returns:
The document.

getOwner

public DocumentObject getOwner()
Gets the owner.

Overrides:
getOwner in class OwnerHolder
Returns:
The owner.

getCount

public int getCount()
Gets the count.

Specified by:
getCount in interface ICollectionBase
Returns:
The count.

get

public DocumentObject get(int index)
Gets the at the specified index.

Parameters:
index -
Returns:

clear

public void clear()
Removes all entities


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: