Package com.altova.automation.libs
Interface COMIDispatchConstList<E>
- All Superinterfaces:
java.lang.Iterable<E>
- All Known Subinterfaces:
COMIDispatchList<E>
- All Known Implementing Classes:
AppOutputLines,Documents,Parameters,SchemaSources
public interface COMIDispatchConstList<E>
extends java.lang.Iterable<E>
Marks a class to support the standard COM IDispatch methods for lists of elements of class E
-
Method Summary
Modifier and Type Method Description java.lang.Objectget_NewEnum()Not used in this context.intgetCount()EgetItem(int index)
-
Method Details
-
getCount
- Returns:
- number of elements in the list.
- Throws:
AutomationException- on COM error.
-
getItem
- Parameters:
index- get element at specified index. COM lists typically are 1-based!- Returns:
- element at index
- Throws:
AutomationException- on COM error
-
get_NewEnum
Not used in this context. Lists get iterated based on indices.- Returns:
- COM enumerator for the list.
- Throws:
AutomationException- on COM error
-