public String getTextContent() throws DOMException { Node child = getFirstChild(); if (child == null) { return ""; } Node next = child.getNextSibling(); if (next == null) { return hasTextContent(child) ? child.getTextContent() : ""; } StringBuilder buf = new StringBuilder(); getTextContent(buf); return buf.toString(); }
public String getTextContent() throws DOMException { Node child = getFirstChild(); if (child == null) { return ""; } Node next = child.getNextSibling(); if (next == null) { return hasTextContent(child) ? child.getTextContent() : ""; } StringBuilder buf = new StringBuilder(); getTextContent(buf); return buf.toString(); }
public String getTextContent() throws DOMException { Node child = getFirstChild(); if (child == null) { return ""; } Node next = child.getNextSibling(); if (next == null) { return hasTextContent(child) ? child.getTextContent() : ""; } StringBuilder buf = new StringBuilder(); getTextContent(buf); return buf.toString(); }
public String getTextContent() throws DOMException { Node child = getFirstChild(); if (child == null) { return ""; } Node next = child.getNextSibling(); if (next == null) { return hasTextContent(child) ? child.getTextContent() : ""; } StringBuilder buf = new StringBuilder(); getTextContent(buf); return buf.toString(); }
public String getTextContent() throws DOMException { Node child = getFirstChild(); if (child == null) { return ""; } Node next = child.getNextSibling(); if (next == null) { return hasTextContent(child) ? child.getTextContent() : ""; } StringBuilder buf = new StringBuilder(); getTextContent(buf); return buf.toString(); }
public String getTextContent() throws DOMException { Node child = getFirstChild(); if (child == null) { return ""; } Node next = child.getNextSibling(); if (next == null) { return hasTextContent(child) ? child.getTextContent() : ""; } StringBuilder buf = new StringBuilder(); getTextContent(buf); return buf.toString(); }
public String getTextContent() throws DOMException { Node child = getFirstChild(); if (child == null) { return ""; } Node next = child.getNextSibling(); if (next == null) { return hasTextContent(child) ? child.getTextContent() : ""; } StringBuilder buf = new StringBuilder(); getTextContent(buf); return buf.toString(); }