Class XMLExportConfigurationSpec

    • Constructor Detail

      • XMLExportConfigurationSpec

        public XMLExportConfigurationSpec​(com.orchestranetworks.service.ServiceContext serviceContext)
                                   throws DataExchangeException
        Uses within a UIService.
        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 a UIService.
        Throws:
        DataExchangeException
    • Method Detail

      • isXMLIndented

        public boolean isXMLIndented()
        Returns true 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()
        Returns true 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 the version for the target application.
      • getServiceType

        public ServiceType getServiceType()
        Returns the service type.
      • isDefaultXML

        public boolean isDefaultXML()
        Returns true 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 an EBXTable instance as the key parameter. Returns null when importing CSV, Excel and XML.