/** */ public boolean isImplicitTag() { if (hasStartTag() || hasEndTag()) return false; // make sure this is in the document tree // because if not in the document tree, no tags are generated yet return (getContainerDocument() != null); }
/** * notifyValueChanged method */ public void notifyEndTagChanged() { DocumentImpl document = (DocumentImpl) getContainerDocument(); if (document == null) return; DOMModelImpl model = (DOMModelImpl) document.getModel(); if (model == null) return; model.endTagChanged(this); }
/** */ public void notifyStartTagChanged() { DocumentImpl document = (DocumentImpl) getContainerDocument(); if (document == null) return; DOMModelImpl model = (DOMModelImpl) document.getModel(); if (model == null) return; model.startTagChanged(this); }
/** * notifyValueChanged method */ protected void notifyValueChanged() { if (this.ownerElement == null) return; DocumentImpl document = (DocumentImpl) this.ownerElement.getContainerDocument(); if (document == null) return; DOMModelImpl model = (DOMModelImpl) document.getModel(); if (model == null) return; model.valueChanged(this); }
/** * notifyValueChanged method */ protected void notifyNameChanged() { if (this.ownerElement == null) return; DocumentImpl document = (DocumentImpl) this.ownerElement.getContainerDocument(); if (document == null) return; DOMModelImpl model = (DOMModelImpl) document.getModel(); if (model == null) return; model.nameChanged(this); }
/** * notifyAttrReplaced method * * @param newAttr * org.w3c.dom.Attr * @param oldAttr * org.w3c.dom.Attr */ protected void notifyAttrReplaced(Attr newAttr, Attr oldAttr) { DocumentImpl document = (DocumentImpl) getContainerDocument(); if (document == null) return; DOMModelImpl model = (DOMModelImpl) document.getModel(); if (model == null) return; model.attrReplaced(this, newAttr, oldAttr); }