use of com.sldeditor.common.xml.ui.XMLFieldConfigEnumValue in project sldeditor by robward-scisys.
the class ReadMapUnits method readValueListConfig.
/**
* Read value list configuration.
*
* @param localisationClass the localisation class
* @param panelId the panel id
* @param valueList the xml value obj
* @return the list
*/
private List<SymbolTypeConfig> readValueListConfig(Class<?> localisationClass, Class<?> panelId, XMLFieldConfigEnumValueList valueList) {
List<SymbolTypeConfig> configList = new ArrayList<SymbolTypeConfig>();
for (XMLFieldConfigEnumValue valueObj : valueList.getValue()) {
SymbolTypeConfig config = parseSymbolTypeConfig(localisationClass, panelId, valueObj);
configList.add(config);
}
return configList;
}
use of com.sldeditor.common.xml.ui.XMLFieldConfigEnumValue in project sldeditor by robward-scisys.
the class SymbolTypeConfigReader method readSymbolizerConfig.
/**
* Read symbolizer config.
*
* @param panelId the panel id
* @param xmlPanelDetails the xml panel details
* @return the symbol type config
*/
private static List<SymbolTypeConfig> readSymbolizerConfig(Class<?> panelId, XMLPanelDetails xmlPanelDetails) {
List<SymbolTypeConfig> configList = new ArrayList<SymbolTypeConfig>();
for (XMLFieldConfigEnumValue value : xmlPanelDetails.getValue()) {
SymbolTypeConfig config = ReadPanelConfig.parseSymbolTypeConfig(SymbolTypeConfig.class, panelId, value);
configList.add(config);
}
return configList;
}
use of com.sldeditor.common.xml.ui.XMLFieldConfigEnumValue in project sldeditor by robward-scisys.
the class ReadPanelConfig method readValueListConfig.
/**
* Read value list configuration.
*
* @param localisationClass the localisation class
* @param panelId the panel id
* @param valueList the xml value obj
* @return the list
*/
private List<SymbolTypeConfig> readValueListConfig(Class<?> localisationClass, Class<?> panelId, XMLFieldConfigEnumValueList valueList) {
List<SymbolTypeConfig> configList = new ArrayList<SymbolTypeConfig>();
for (XMLFieldConfigEnumValue valueObj : valueList.getValue()) {
SymbolTypeConfig config = parseSymbolTypeConfig(localisationClass, panelId, valueObj);
configList.add(config);
}
return configList;
}
Aggregations