private Element buildImageElement ( Media media , Element element ) { if ( media . isValid ( ) ) { element . setAttribute ( "src" , media . getUrl ( ) ) ; } return element ; }
Builds image element for given media metadata .