Package com.altova.automation.XMLSpy
Class SpyProjectItems
java.lang.Object
com.altova.automation.libs.COMIUnknownObject
com.altova.automation.libs.COMIDispatchObject
com.altova.automation.XMLSpy.SpyProjectItems
- All Implemented Interfaces:
COMIDispatchConstList<SpyProjectItem>,java.lang.Iterable<SpyProjectItem>
public class SpyProjectItems extends COMIDispatchObject implements COMIDispatchConstList<SpyProjectItem>
-
Field Summary
Fields inherited from class com.altova.automation.libs.COMIDispatchObject
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF -
Method Summary
Modifier and Type Method Description voidaddFile(java.lang.String strPath)method AddFilevoidaddFolder(java.lang.String strName)method AddFoldervoidaddURL(java.lang.String strURL, Enums.SPYURLTypes nURLType, java.lang.String strUser, java.lang.String strPassword, boolean bSave)method AddURLjava.lang.Objectget_NewEnum()Not used in this context.intgetCount()GUIDgetInterfaceIID()SpyProjectItemgetItem(int n)java.util.Iterator<SpyProjectItem>iterator()voidremoveItem(SpyProjectItem pItem)method RemoveItemMethods inherited from class com.altova.automation.libs.COMIDispatchObject
addListener, getProperty, getProperty, invoke, removeListener, setProperty, setPropertyMethods inherited from class com.altova.automation.libs.COMIUnknownObject
dispose, equals, getCOMInterfacePointer, isNull
-
Method Details
-
getInterfaceIID
-
getCount
- Specified by:
getCountin interfaceCOMIDispatchConstList<SpyProjectItem>- Returns:
- number of elements in the list.
- Throws:
AutomationException- on COM error.
-
getItem
- Specified by:
getItemin interfaceCOMIDispatchConstList<SpyProjectItem>- Parameters:
n- get element at specified index. COM lists typically are 1-based!- Returns:
- element at index
- Throws:
AutomationException- on COM error
-
get_NewEnum
Description copied from interface:COMIDispatchConstListNot used in this context. Lists get iterated based on indices.- Specified by:
get_NewEnumin interfaceCOMIDispatchConstList<SpyProjectItem>- Returns:
- COM enumerator for the list.
- Throws:
AutomationException- on COM error
-
addFile
method AddFile- Throws:
AutomationException
-
addFolder
method AddFolder- Throws:
AutomationException
-
addURL
public void addURL(java.lang.String strURL, Enums.SPYURLTypes nURLType, java.lang.String strUser, java.lang.String strPassword, boolean bSave) throws AutomationExceptionmethod AddURL- Throws:
AutomationException
-
removeItem
method RemoveItem- Throws:
AutomationException
-
iterator
- Specified by:
iteratorin interfacejava.lang.Iterable<SpyProjectItem>
-