legacy/jacorb/src/main/java/org/jboss/as/jacorb/JacORBSubsystemParser.java
private void writeGenericProperties(XMLExtendedStreamWriter writer, ModelNode node) throws XMLStreamException {
        writer.writeStartElement(JacORBSubsystemConstants.PROPERTIES);
        for (Property prop : node.asPropertyList()) {
            writer.writeEmptyElement(JacORBSubsystemConstants.PROPERTY);
            writer.writeAttribute(JacORBSubsystemConstants.NAME, prop.getName());
            writer.writeAttribute(JacORBSubsystemConstants.PROPERTY_VALUE, prop.getValue().asString());
        }
        writer.writeEndElement();
    }
private void writeGenericProperties(XMLExtendedStreamWriter writer, ModelNode node) throws XMLStreamException {
        writer.writeStartElement(JacORBSubsystemConstants.PROPERTIES);
        for (Property prop : node.asPropertyList()) {
            writer.writeEmptyElement(JacORBSubsystemConstants.PROPERTY);
            writer.writeAttribute(JacORBSubsystemConstants.NAME, prop.getName());
            writer.writeAttribute(JacORBSubsystemConstants.PROPERTY_VALUE, prop.getValue().asString());
        }
        writer.writeEndElement();
    }
private void writeGenericProperties ( XMLExtendedStreamWriter writer , ModelNode node ) throws XMLStreamException { writer . writeStartElement ( JacORBSubsystemConstants . PROPERTIES ) ; for ( Property prop : node . asPropertyList ( ) ) { writer . writeEmptyElement ( JacORBSubsystemConstants . PROPERTY ) ; writer . writeAttribute ( JacORBSubsystemConstants . NAME , prop . getName ( ) ) ; writer . writeAttribute ( JacORBSubsystemConstants . PROPERTY_VALUE , prop . getValue ( ) . asString ( ) ) ; } writer . writeEndElement ( ) ; }
<p>
Writes a {@code property} element for each generic property contained in the specified {@code ModelNode}.
</p>

@param writer the {@code XMLExtendedStreamWriter} used to write the configuration XML.
@param node   the {@code ModelNode} that contains all properties to be written.
@throws javax.xml.stream.XMLStreamException
if an error occurs while writing the property elements.
<p > Writes a { @code property } element for each generic property contained in the specified { @code ModelNode } . < / p >