return list;
}
// Parse an OR filter
private static final OrFilter readOrFilter(Or filterBean) throws SimpleServerException {
OrFilter filter = ConfigFactory.newOrFilter();
SimpleFilterType[] simpleFilters = filterBean.getFilterArray();
And[] andBeans = filterBean.getAndArray();
Or[] orBeans = filterBean.getOrArray();
List<FilterType> filterBeans = getFilters(simpleFilters, andBeans, orBeans);
for (int i = 0; i < filterBeans.size(); i++) {
filter.addFilter(readFilter(filterBeans.get(i)));
}
return filter;
}