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 anEBXTable
instance as the key parameter.Returns the list of source tables.Returns the target application version.boolean
Returnstrue
if data are exported using the default configuration.boolean
Returnstrue
if the exported XML file omits comments.boolean
Returnstrue
if the exported XML file indents lines.void
setDefaultXML
(boolean defaultXML) Sets whether data are exported using the default configuration.void
setTargetVersion
(String targetVersion) Sets theversion
for the target application.void
setXMLCommentOmitted
(boolean xmlCommentOmitted) Sets whether to omit XML comments from the exported XML file.void
setXMLIndented
(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()Returnstrue
if 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()Returnstrue
if 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 theversion
for the target application. -
getServiceType
Returns the service type. -
isDefaultXML
public boolean isDefaultXML()Returnstrue
if 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 anEBXTable
instance as the key parameter. Returnsnull
when importing CSV, Excel and XML.
-