Class Documents
java.lang.Object
com.altova.automation.libs.COMIUnknownObject
com.altova.automation.libs.COMIDispatchObject
com.altova.automation.StyleVision.Documents
- All Implemented Interfaces:
COMIDispatchConstList<Document>,java.lang.Iterable<Document>
public class Documents extends COMIDispatchObject implements COMIDispatchConstList<Document>
-
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 java.lang.Objectget_NewEnum()Not used in this context.DocumentgetActiveDocument()method ActiveDocumentCOMIDispatchObjectgetApplication()property ApplicationintgetCount()GUIDgetInterfaceIID()DocumentgetItem(int n)COMIDispatchObjectgetParent()property Parentjava.util.Iterator<Document>iterator()DocumentnewDocument()method NewDocumentDocumentopenDocument(java.lang.String strPath)method OpenDocumentMethods 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<Document>- Returns:
- number of elements in the list.
- Throws:
AutomationException- on COM error.
-
getItem
- Specified by:
getItemin interfaceCOMIDispatchConstList<Document>- 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<Document>- Returns:
- COM enumerator for the list.
- Throws:
AutomationException- on COM error
-
getApplication
property Application- Throws:
AutomationException
-
getParent
property Parent- Throws:
AutomationException
-
openDocument
method OpenDocument- Throws:
AutomationException
-
newDocument
method NewDocument- Throws:
AutomationException
-
getActiveDocument
method ActiveDocument- Throws:
AutomationException
-
iterator
- Specified by:
iteratorin interfacejava.lang.Iterable<Document>
-