batch-jberet/src/main/java/org/wildfly/extension/batch/jberet/AttributeParsers.java
static String readValueAttribute(final XMLExtendedStreamReader reader) throws XMLStreamException {
        return readRequiredAttributes(reader, EnumSet.of(Attribute.VALUE)).get(Attribute.VALUE);
    }
static String readValueAttribute(final XMLExtendedStreamReader reader) throws XMLStreamException {
        return readRequiredAttributes(reader, EnumSet.of(Attribute.VALUE)).get(Attribute.VALUE);
    }
Reads a {@code value} attribute on an element.

@param reader the reader used to read the attribute with

@return the value attribute or {@code null} if the value attribute was not defined

@throws XMLStreamException if an XML processing error occurs