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 ServiceTypegetServiceType()Returns the service type.java.util.Map<EBXTable,TableFilter>getSourceTableFilters()Returns a map of table filters and anEBXTableinstance as the key parameter.java.util.List<EBXTable>getSourceTables()Returns the list of source tables.java.lang.StringgetTargetVersion()Returns the target application version.booleanisDefaultXML()Returnstrueif data are exported using the default configuration.booleanisXMLCommentOmitted()Returnstrueif the exported XML file omits comments.booleanisXMLIndented()Returnstrueif the exported XML file indents lines.voidsetDefaultXML(boolean defaultXML)Sets whether data are exported using the default configuration.voidsetTargetVersion(java.lang.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 Detail
-
XMLExportConfigurationSpec
public XMLExportConfigurationSpec(com.orchestranetworks.service.ServiceContext serviceContext) throws DataExchangeExceptionUses within aUIService.- Throws:
DataExchangeException
-
XMLExportConfigurationSpec
public XMLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, com.orchestranetworks.service.Session session) throws DataExchangeExceptionExports 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()
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
public java.lang.String getTargetVersion()
Returns the target application version.
-
setTargetVersion
public void setTargetVersion(java.lang.String targetVersion)
Sets theversionfor the target application.
-
getServiceType
public ServiceType 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
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 anEBXTableinstance as the key parameter. Returnsnullwhen importing CSV, Excel and XML.
-
-