documentsubsetcollection-ag凯发旗舰厅



com.spire.doc.collections
class documentsubsetcollection

java.lang.object
  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 java.lang.object
implements idocumentobjectcollection

represents a subset from collection of specified type entities.


method summary
 void clear()
          removes all entities
 documentobject get(int index)
          gets the documentobject 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.
returns:
the document.

getowner

public documentobject getowner()
gets the owner.
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 documentobject at the specified index.
specified by:
get in interface idocumentobjectcollection
parameters:
index - index
returns:
documentobject object

clear

public void clear()
removes all entities

iterator

public java.util.iterator iterator()
returns an enumerator that iterates through a collection.
returns:
an iterator object that can be used to iterate through the collection.


网站地图