Class XMLExportConfigurationSpec
- java.lang.Object
-
- com.orchestranetworks.addon.dex.configuration.FileExportConfigurationSpec
-
- com.orchestranetworks.addon.dex.configuration.XMLExportConfigurationSpec
-
- All Implemented Interfaces:
ConfigurationSpec<EBXTable>
,ExportConfigurationSpec<EBXTable>
public final class XMLExportConfigurationSpec extends FileExportConfigurationSpec
Specifies the configuration used when exporting data to an XML file.- Since:
- 2.3.0
-
-
Constructor Summary
Constructors Constructor Description XMLExportConfigurationSpec(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceType
getServiceType()
Returns the service type.java.util.Map<EBXTable,TableFilter>
getSourceTableFilters()
Returns a map of table filters and anEBXTable
instance as the key parameter.java.util.List<EBXTable>
getSourceTables()
Returns the list of source tables.java.lang.String
getTargetVersion()
Returns the target application version.boolean
isDefaultXML()
Returnstrue
if data are exported using the default configuration.boolean
isXMLCommentOmitted()
Returnstrue
if the exported XML file omits comments.boolean
isXMLIndented()
Returnstrue
if the exported XML file indents lines.void
setDefaultXML(boolean defaultXML)
Sets whether data are exported using the default configuration.void
setTargetVersion(java.lang.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 Detail
-
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 Detail
-
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
public java.lang.String getTargetVersion()
Returns the target application version.
-
setTargetVersion
public void setTargetVersion(java.lang.String targetVersion)
Sets theversion
for the target application.
-
getServiceType
public ServiceType 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
public java.util.List<EBXTable> getSourceTables()
Returns the list of source tables.
-
getSourceTableFilters
public java.util.Map<EBXTable,TableFilter> getSourceTableFilters()
Returns a map of table filters and anEBXTable
instance as the key parameter. Returnsnull
when importing CSV, Excel and XML.
-
-