private void writeAttributes(XMLExtendedStreamWriter writer, ModelNode node, List<SimpleAttributeDefinition> attributes)
            throws XMLStreamException {
    """
	<p>
	Writes the attributes contained in the specified {@code ModelNode} to the current element.
	</p>
	
	@param writer     the {@code XMLExtendedStreamWriter} used to write the configuration XML.
	@param node       the {@code ModelNode} that contains the attributes to be written.
	@param attributes the list of attributes to be written if they have been defined.
	@throws XMLStreamException if an error occurs while writing the attributes to the current element.
    """
        for (SimpleAttributeDefinition definition : attributes)
            definition.marshallAsAttribute(node, writer);
    }
private void writeAttributes(XMLExtendedStreamWriter writer, ModelNode node, List<SimpleAttributeDefinition> attributes)
            throws XMLStreamException {
        for (SimpleAttributeDefinition definition : attributes)
            definition.marshallAsAttribute(node, writer);
    }
private void writeAttributes ( XMLExtendedStreamWriter writer , ModelNode node , List < SimpleAttributeDefinition > attributes ) throws XMLStreamException { for ( SimpleAttributeDefinition definition : attributes ) definition . marshallAsAttribute ( node , writer ) ; }
<p>
Writes the attributes contained in the specified {@code ModelNode} to the current element.
</p>

@param writer     the {@code XMLExtendedStreamWriter} used to write the configuration XML.
@param node       the {@code ModelNode} that contains the attributes to be written.
@param attributes the list of attributes to be written if they have been defined.
@throws XMLStreamException if an error occurs while writing the attributes to the current element.
<p > Writes the attributes contained in the specified { @code ModelNode } to the current element . < / p >