transactions/src/main/java/org/jboss/as/txn/subsystem/TransactionSubsystem30Parser.java
private String rawAttributeText(XMLStreamReader reader, String attributeName, String defaultValue) {
        return reader.getAttributeValue("", attributeName) == null
                ? defaultValue :
                reader.getAttributeValue("", attributeName).trim();
    }
private String rawAttributeText(XMLStreamReader reader, String attributeName, String defaultValue) {
        return reader.getAttributeValue("", attributeName) == null
                ? defaultValue :
                reader.getAttributeValue("", attributeName).trim();
    }
private String rawAttributeText ( XMLStreamReader reader , String attributeName , String defaultValue ) { return reader . getAttributeValue ( "" , attributeName ) == null ? defaultValue : reader . getAttributeValue ( "" , attributeName ) . trim ( ) ; }
Reads and trims the text for the given attribute and returns it or {@code defaultValue} if there is no
value for the attribute

@param reader        source for the attribute text
@param attributeName the name of the attribute
@param defaultValue  value to return if there is no value for the attribute
@return the string representing raw attribute text or {@code defaultValue} if there is none
Reads and trims the text for the given attribute and returns it or { @code defaultValue } if there is no value for the attribute