void addRecipient( String recipientName, int recipientType, Document fileInfo ) {
Element newAces = fileInfo.createElement( ACES_ELEMENT_NAME );
Element newPermission = fileInfo.createElement( PERMISSIONS_ELEMENT_NAME );
Element newRecipient = fileInfo.createElement( RECIPIENT_ELEMENT_NAME );
Element newRecipientType = fileInfo.createElement( RECIPIENT_TYPE_ELEMENT_NAME );
Text textNode = fileInfo.createTextNode( recipientName );
newRecipient.appendChild( textNode );
textNode = fileInfo.createTextNode( Integer.toString( recipientType ) );
newRecipientType.appendChild( textNode );
newAces.appendChild( newPermission );
newAces.appendChild( newRecipient );