class XmlHelper {

  public static Optional<String> readAttribute(XMLStreamReader reader, String attr) {
    return Optional.ofNullable(reader.getAttributeValue(null, attr));
  }

  private  XmlHelper();

}