class XmlUtil {

    public static String readText(String endElementName, XMLStreamReader reader) throws XMLStreamException {
        return readUntilEndElement(endElementName, reader, () -> { });
    }

    private  XmlUtil();

}