Receiver recv = new ReceiverImpl(offset);
for( QNameMap.Entry<JaxBeanInfo> n : expectedElements.entrySet() ) {
final JaxBeanInfo beanInfo = n.getValue();
loaders.put(n.nsUri,n.localName,new ChildLoader(beanInfo.getLoader(chain.context,true),recv));
}
if(isMixed) {
// handler for processing mixed contents.
loaders.put(TEXT_HANDLER,
new ChildLoader(new MixedTextLoader(recv),null));
}
if(domHandler!=null) {
loaders.put(CATCH_ALL,
new ChildLoader(new WildcardLoader(domHandler,wcMode),recv));
}
}