public interface ResultXmlFileWriter extends TransientObject
Modifier and Type | Method and Description |
---|---|
ImageGroupDocumentData |
addImageGroup()
Creates a new
ImageGroupDocumentData object. |
TableDocumentData |
addTable(int columnSize,
int rowSize)
Creates a new
TableDocumentData object. |
TextDocumentData |
addText(String textContent)
Creates a new
TextDocumentData object. |
void |
deleteAllData()
Removes all document data
License requirements: None. |
void |
deleteNthData(int index)
Removes the nth document data
License requirements: None. |
int |
getDataCount()
Gets the number of data to be exported
License requirements: None. |
DocumentData |
getNthData(int index)
Gets the nth document data object.
|
void |
saveToFile(String fileName)
Exports all document data to result XML file
License requirements: None. |
_value, dispose, printTestData, printTestData
TextDocumentData addText(String textContent) throws NXException, RemoteException
TextDocumentData
object.
Does not to free this object, it will be free while deleting
ResultXmlFileWriter
object
textContent
- the content of the text dataNXException
RemoteException
ImageGroupDocumentData addImageGroup() throws NXException, RemoteException
ImageGroupDocumentData
object.
Does not to free this object, it will be free while deleting
ResultXmlFileWriter
object
NXException
RemoteException
TableDocumentData addTable(int columnSize, int rowSize) throws NXException, RemoteException
TableDocumentData
object.
Does not to free this object, it will be free while deleting
ResultXmlFileWriter
object
columnSize
- the column size of the tablerowSize
- the row size of the tableNXException
RemoteException
int getDataCount() throws NXException, RemoteException
NXException
RemoteException
DocumentData getNthData(int index) throws NXException, RemoteException
ResultXmlFileWriter
object
index
- the index of dataNXException
RemoteException
void deleteNthData(int index) throws NXException, RemoteException
index
- the index of dataNXException
RemoteException
void deleteAllData() throws NXException, RemoteException
NXException
RemoteException
void saveToFile(String fileName) throws NXException, RemoteException
fileName
- the file name to be exportedNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.