for (int i = 0; i < node.size(); i++)
int size = node.size(); if (size > 0) { out.write(">");
private Object refObj(Object obj, XmlParser.Node node) throws Exception { String refid = node.getAttribute("refid"); if (refid==null) refid = node.getAttribute("id"); obj = _idMap.get(refid); if (obj == null && node.size()>0) throw new IllegalStateException("No object for refid=" + refid); configure(obj,node,0); return obj; }
_configuration.getIdMap().put(id,obj); for (; i < cfg.size(); i++)
_configuration.getIdMap().put(id,obj); for (; i < cfg.size(); i++)
_configuration.getIdMap().put(id,obj); for (; i < cfg.size(); i++)
private Object refObj(Object obj, XmlParser.Node node) throws Exception { String refid = node.getAttribute("refid"); if (refid==null) refid = node.getAttribute("id"); obj = _configuration.getIdMap().get(refid); if (obj == null && node.size()>0) throw new IllegalStateException("No object for refid=" + refid); configure(obj,node,0); return obj; }
private Object refObj(Object obj, XmlParser.Node node) throws Exception { String refid = node.getAttribute("refid"); if (refid==null) refid = node.getAttribute("id"); obj = _idMap.get(refid); if (obj == null && node.size()>0) throw new IllegalStateException("No object for refid=" + refid); configure(obj,node,0); return obj; }