public void normalize() { Element element = getRootElement(); if (element != null) { element.normalize(); } }
public String getStringValue() { Element root = getRootElement(); return (root != null) ? root.getStringValue() : ""; }
protected void checkAddElementAllowed(Element element) { Element root = getRootElement(); if (root != null) { throw new IllegalAddException(this, element, "Cannot add another element to this " + "Document as it already has a root " + "element of: " + root.getQualifiedName()); } }
public boolean remove(Element element) { boolean answer = super.remove(element); Element root = getRootElement(); if ((root != null) && answer) { setRootElement(null); } element.setDocument(null); return answer; }
public void normalize() { Element element = getRootElement(); if (element != null) { element.normalize(); } }
public void normalize() { Element element = getRootElement(); if (element != null) { element.normalize(); } }
public void normalize() { Element element = getRootElement(); if (element != null) { element.normalize(); } }
public String getStringValue() { Element root = getRootElement(); return (root != null) ? root.getStringValue() : ""; }
public void normalize() { Element element = getRootElement(); if (element != null) { element.normalize(); } }
public String getStringValue() { Element root = getRootElement(); return (root != null) ? root.getStringValue() : ""; }
protected void checkAddElementAllowed(Element element) { Element root = getRootElement(); if (root != null) { throw new IllegalAddException(this, element, "Cannot add another element to this " + "Document as it already has a root " + "element of: " + root.getQualifiedName()); } }
protected void checkAddElementAllowed(Element element) { Element root = getRootElement(); if (root != null) { throw new IllegalAddException(this, element, "Cannot add another element to this " + "Document as it already has a root " + "element of: " + root.getQualifiedName()); } }
protected void checkAddElementAllowed(Element element) { Element root = getRootElement(); if (root != null) { throw new IllegalAddException(this, element, "Cannot add another element to this " + "Document as it already has a root " + "element of: " + root.getQualifiedName()); } }
protected void checkAddElementAllowed(Element element) { Element root = getRootElement(); if (root != null) { throw new IllegalAddException(this, element, "Cannot add another element to this " + "Document as it already has a root " + "element of: " + root.getQualifiedName()); } }
public boolean remove(Element element) { boolean answer = super.remove(element); Element root = getRootElement(); if ((root != null) && answer) { setRootElement(null); } element.setDocument(null); return answer; }
public boolean remove(Element element) { boolean answer = super.remove(element); Element root = getRootElement(); if ((root != null) && answer) { setRootElement(null); } element.setDocument(null); return answer; }
public boolean remove(Element element) { boolean answer = super.remove(element); Element root = getRootElement(); if ((root != null) && answer) { setRootElement(null); } element.setDocument(null); return answer; }
public boolean remove(Element element) { boolean answer = super.remove(element); Element root = getRootElement(); if ((root != null) && answer) { setRootElement(null); } element.setDocument(null); return answer; }
public boolean remove(Element element) { boolean answer = super.remove(element); Element root = getRootElement(); if ((root != null) && answer) { setRootElement(null); } element.setDocument(null); return answer; }
public boolean remove(Element element) { boolean answer = super.remove(element); Element root = getRootElement(); if ((root != null) && answer) { setRootElement(null); } element.setDocument(null); return answer; }