/** * Return the BeanProp object where this bean belongs. */ public BeanProp beanProp() { if (this.binding != null) return this.binding.getBeanProp(this); else return null; }
/** * Build the current path up to the root node. See the BeanProp object * for more details. */ protected void buildPathName(StringBuffer str) { if (this.binding != null) { BeanProp p = this.binding.getBeanProp(this); if (p != null) p.buildPathName(this.binding, str); } }
/** * This method is called by one of the properties of the bean * to notify of a change. This is the way the property uses to * signal all its ancestors about a property that has changed. */ void notifyInternal(BeanProp.InternalEvent ie) { if (this.changeListeners != null && ie.type == BeanProp.InternalEvent.CHANGED) { boolean addedGM = false; if (this.graphManager == null) { this.graphManager = new GraphManager(this); addedGM = true; } this.changeListeners. firePropertyChange(ie.getPropertyChangeEvent()); if (addedGM) { this.graphManager = null; } } if (this.binding != null) { BeanProp p = this.binding.getBeanProp(this); if (p != null) p.notifyInternal(ie, true); } }
BeanProp p = this.binding.getBeanProp(this); String dtdName = p.getDtdName(); String beanName = p.getDtdName();