public LeafBeanInfoImpl(JAXBContextImpl grammar, RuntimeLeafInfo li) {
super(grammar,li,li.getClazz(),li.getTypeNames(),li.isElement(),true,false);
xducer = li.getTransducer();
loader = new TextLoader(xducer);
loaderWithSubst = new XsiTypeLoader(this);
if(isElement())
tagName = grammar.nameBuilder.createElementName(li.getElementName());
else
tagName = null;