Class ATXSettingParser


  • public final class ATXSettingParser
    extends Object
    Parser for the ATX template configuration to gather all available ATX settings.
    • Method Detail

      • parseSettings

        public static List<ATXSetting<?>> parseSettings​(Document doc)
        Parses all settings of the ATX template configuration.
        Parameters:
        doc - the XML document representation
        Returns:
        the map of settings
      • parseSetting

        public static List<ATXSetting<?>> parseSetting​(Document doc,
                                                       ATXSetting.SettingsGroup group,
                                                       String expression)
        Parses a single setting of the ATX template configuration.
        Parameters:
        doc - the XML document representation
        group - the settings group
        expression - the XPath expression for a separated setting
        Returns:
        the parsed setting represented by a list of settings