@Override public String getElementText() throws XMLStreamException { String result = DOMUtils.getRawContent(content); ElementFrame<Node, Node> frame = getCurrentFrame(); frame.ended = true; currentEvent = END_ELEMENT; endElement(); // we should not return null according to the StAx API javadoc return result != null ? result : ""; }
@Override public String getElementText() throws XMLStreamException { String result = DOMUtils.getRawContent(content); ElementFrame<Node, Node> frame = getCurrentFrame(); frame.ended = true; currentEvent = END_ELEMENT; endElement(); // we should not return null according to the StAx API javadoc return result != null ? result : ""; }
@Override public String getElementText() throws XMLStreamException { String result = DOMUtils.getRawContent(content); ElementFrame<Node, Node> frame = getCurrentFrame(); frame.ended = true; currentEvent = END_ELEMENT; endElement(); // we should not return null according to the StAx API javadoc return result != null ? result : ""; }
@Override public String getElementText() throws XMLStreamException { String result = DOMUtils.getRawContent(content); ElementFrame<Node, Node> frame = getCurrentFrame(); frame.ended = true; currentEvent = END_ELEMENT; endElement(); // we should not return null according to the StAx API javadoc return result != null ? result : ""; }
@Override public String getElementText() throws XMLStreamException { String result = DOMUtils.getRawContent(content); ElementFrame<Node, Node> frame = getCurrentFrame(); frame.ended = true; currentEvent = END_ELEMENT; endElement(); // we should not return null according to the StAx API javadoc return result != null ? result : ""; }