com.aspose.words
Class KnownTypeSet

java.lang.Object
    extended by com.aspose.words.KnownTypeSet
All Implemented Interfaces:
java.lang.Iterable

public class KnownTypeSet 
extends java.lang.Object

Represents an unordered set (i.e. a collection of unique items) containing java.lang.Class objects which fully or partially qualified names can be used within report templates to invoke the corresponding types' static members, perform type casts, etc.

To learn more, visit the LINQ Reporting Engine documentation article.


Property Getters/Setters Summary
intgetCount()
           Gets the count of items in the set.
 
Method Summary
voidadd(java.lang.Class type)
          

Adds the specified java.lang.Class object to the set.

voidclear()
           Removes all items from the set.
java.util.Iterator<java.lang.Class>iterator()
           Returns An java.util.Iterator object to iterate over items of the set.
voidremove(java.lang.Class type)
           Removes the specified java.lang.Class object from the set.
 

Property Getters/Setters Detail

getCount

public int getCount()
Gets the count of items in the set.

Method Detail

add

public void add(java.lang.Class type)

Adds the specified java.lang.Class object to the set.

Parameters:
type - A java.lang.Class object to add.

clear

public void clear()
Removes all items from the set.

iterator

public java.util.Iterator<java.lang.Class> iterator()
Returns An java.util.Iterator object to iterate over items of the set.
Returns:
An java.util.Iterator object to iterate over items of the set.

remove

public void remove(java.lang.Class type)
Removes the specified java.lang.Class object from the set.
Parameters:
type - A java.lang.Class object to remove.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.