if(bindingContexts != null) {
NodeList bcList = ((Element)bindingContexts).getElementsByTagName("binding-context");
if(bcList != null && bcList.getLength() > 0) {
bindingContextConfig = new BindingContextConfig[bcList.getLength()];
for(int j = 0; j < bcList.getLength(); j++) {
bindingContextConfig[j] = new BindingContextConfig(
DomUtils.getChildElementText((Element)bcList.item(j), "name"),
DomUtils.getChildElementText((Element)bcList.item(j), "factory-class")
);
}
}