com.aspose.slides.pptx
Class CommentAuthorsEx

java.lang.Object
  extended by com.aspose.slides.pptx.CommentAuthorsEx

public final class CommentAuthorsEx
extends java.lang.Object

Represents a collection of comment authors.


Method Summary
 CommentAuthorEx addAuthor(java.lang.String name, java.lang.String initials)
          Add new author at the end of a collection.
 CommentAuthorEx[] findByName(java.lang.String name)
          Find author in a collection by name.
 CommentAuthorEx[] findByNameAndInitials(java.lang.String name, java.lang.String initials)
          Find author in a collection by name and initials.
 CommentAuthorEx get(int index)
          Gets the element at the specified index.
 java.util.Iterator<CommentAuthorEx> getIterator()
           
 int getSize()
          Gets the number of elements actually contained in the collection.
 CommentAuthorEx[] toArray()
          Creates and returns an array with all authors.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSize

public int getSize()
Gets the number of elements actually contained in the collection.


get

public CommentAuthorEx get(int index)
Gets the element at the specified index.


addAuthor

public CommentAuthorEx addAuthor(java.lang.String name,
                                 java.lang.String initials)
Add new author at the end of a collection.

Parameters:
name - Name of a new author.
initials - Initials of a new author.
Returns:
new author

toArray

public CommentAuthorEx[] toArray()
Creates and returns an array with all authors.

Returns:
Array of CommentAuthorEx

findByName

public CommentAuthorEx[] findByName(java.lang.String name)
Find author in a collection by name.

Parameters:
name - Name of an author to find.
Returns:
Author or null.

findByNameAndInitials

public CommentAuthorEx[] findByNameAndInitials(java.lang.String name,
                                               java.lang.String initials)
Find author in a collection by name and initials.

Parameters:
name - Name of an author to find.
initials - Initials of an author to find.
Returns:
Author or null.

getIterator

public java.util.Iterator<CommentAuthorEx> getIterator()
Returns:
Returns an iterator for the entire collection.