Class PlanitXmlReaderSettings

    • Field Detail

      • DEFAULT_XML_EXTENSION

        public static String DEFAULT_XML_EXTENSION
      • DEFAULT_SYNC_XMLIDS_TO_IDS

        public static boolean DEFAULT_SYNC_XMLIDS_TO_IDS
    • Constructor Detail

      • PlanitXmlReaderSettings

        public PlanitXmlReaderSettings()
        Default constructor using default file extension and user must set output dir afterwards manually
      • PlanitXmlReaderSettings

        public PlanitXmlReaderSettings​(String inputDirectory)
        Constructor
        Parameters:
        inputDirectory - to use
      • PlanitXmlReaderSettings

        public PlanitXmlReaderSettings​(String inputDirectory,
                                       String xmlFileExtension)
        Constructor
        Parameters:
        inputDirectory - to use
        xmlFileExtension - to use
    • Method Detail

      • getInputDirectory

        public String getInputDirectory()
        The input path directory used
        Returns:
        directory used
      • setInputDirectory

        public void setInputDirectory​(String inputDirectory)
        Set the input path directory used
        Parameters:
        inputDirectory - to use
      • getXmlFileExtension

        public String getXmlFileExtension()
        the XML extension used to check for within path directory used
        Returns:
        XML file extension used
      • setXmlFileExtension

        public void setXmlFileExtension​(String xmlFileExtension)
        the xml extension used to check for within path directory used
        Parameters:
        xmlFileExtension - extension to use
      • isSyncXmlIdsToIds

        public boolean isSyncXmlIdsToIds()
        Verify if reader is designated to replace parsed XML ids with internally generated ids
        Returns:
        true when syncing is active, false otherwise
      • setSyncXmlIdsToIds

        public void setSyncXmlIdsToIds​(boolean syncXmlIdsToIds)
        Determine if reader should replace parsed XML ids with internally generated ids
        Parameters:
        syncXmlIdsToIds - syncing active when true, false otherwise