private void writeInterfaceCriteria ( final XMLExtendedStreamWriter writer , final ModelNode subModel , final boolean nested ) throws XMLStreamException { for ( final Property property : subModel . asPropertyList ( ) ) { if ( property . getValue ( ) . isDefined ( ) ) { writeInterfaceCriteria ( writer , property , nested ) ; } } }
Write the criteria elements extracting the information of the sub - model .