if(list == null || list.size() == 0)
return null;
InterceptorConfig[] interceptorConfigs = new InterceptorConfig[list.size()];
for(int i = 0; i < list.size(); i++) {
interceptorConfigs[i] = new InterceptorConfig(
DomUtils.getChildElementText((Element)list.get(i), "interceptor-class"),
parseCustomProperties( ((Element)list.get(i)).getElementsByTagName("custom-property"))
);
}
return interceptorConfigs;