Class XMLExportConfigurationSpec
java.lang.Object
com.orchestranetworks.addon.dex.configuration.FileExportConfigurationSpec
com.orchestranetworks.addon.dex.configuration.XMLExportConfigurationSpec
- All Implemented Interfaces:
 ConfigurationSpec<EBXTable>,ExportConfigurationSpec<EBXTable>
Specifies the configuration used when exporting data to an XML file.
- Since:
 - 2.3.0
 
- 
Constructor Summary
ConstructorsConstructorDescriptionXMLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, com.orchestranetworks.service.Session session) Exports a table and is used outside of aUIService.XMLExportConfigurationSpec(EBXTable sourceTable, TableFilter tableFilter, com.orchestranetworks.service.Session session) Exports a table with filter and is used outside of aUIService.XMLExportConfigurationSpec(com.orchestranetworks.service.ServiceContext serviceContext) Uses within aUIService. - 
Method Summary
Modifier and TypeMethodDescriptionReturns the service type.Returns a map of table filters and anEBXTableinstance as the key parameter.Returns the list of source tables.Returns the target application version.booleanReturnstrueif data are exported using the default configuration.booleanReturnstrueif the exported XML file omits comments.booleanReturnstrueif the exported XML file indents lines.voidsetDefaultXML(boolean defaultXML) Sets whether data are exported using the default configuration.voidsetTargetVersion(String targetVersion) Sets theversionfor the target application.voidsetXMLCommentOmitted(boolean xmlCommentOmitted) Sets whether to omit XML comments from the exported XML file.voidsetXMLIndented(boolean xmlIndented) Sets whether lines are indented in the exported XML file.Methods inherited from class com.orchestranetworks.addon.dex.configuration.FileExportConfigurationSpec
getCurrentDataset, getCurrentTable, getLocale, getSession, isComputedValueIncluded, isDataFromReferencedTablesExported, isDataReferencingSelectedRecordExported, isHeaderExported, isWriteAccessLockDisabled, setComputedValueIncluded, setDataFromReferencedTablesExported, setDataReferencingSelectedRecordExported, setHeaderExported, setLocale, setWriteAccessLockDisabled 
- 
Constructor Details
- 
XMLExportConfigurationSpec
public XMLExportConfigurationSpec(com.orchestranetworks.service.ServiceContext serviceContext) throws DataExchangeException Uses within aUIService.- Throws:
 DataExchangeException
 - 
XMLExportConfigurationSpec
public XMLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, com.orchestranetworks.service.Session session) throws DataExchangeException Exports a table and is used outside of aUIService.- Throws:
 DataExchangeException
 - 
XMLExportConfigurationSpec
public XMLExportConfigurationSpec(EBXTable sourceTable, TableFilter tableFilter, com.orchestranetworks.service.Session session) throws DataExchangeException Exports a table with filter and is used outside of aUIService.- Throws:
 DataExchangeException
 
 - 
 - 
Method Details
- 
isXMLIndented
public boolean isXMLIndented()Returnstrueif the exported XML file indents lines. - 
setXMLIndented
public void setXMLIndented(boolean xmlIndented) Sets whether lines are indented in the exported XML file. - 
isXMLCommentOmitted
public boolean isXMLCommentOmitted()Returnstrueif the exported XML file omits comments. - 
setXMLCommentOmitted
public void setXMLCommentOmitted(boolean xmlCommentOmitted) Sets whether to omit XML comments from the exported XML file. - 
getTargetVersion
Returns the target application version. - 
setTargetVersion
Sets theversionfor the target application. - 
getServiceType
Returns the service type. - 
isDefaultXML
public boolean isDefaultXML()Returnstrueif data are exported using the default configuration. - 
setDefaultXML
public void setDefaultXML(boolean defaultXML) Sets whether data are exported using the default configuration. - 
getSourceTables
Returns the list of source tables. - 
getSourceTableFilters
Returns a map of table filters and anEBXTableinstance as the key parameter. Returnsnullwhen importing CSV, Excel and XML. 
 -