@ Override public void copyFrom ( final CopyFrom obj ) { final FeedInformationImpl info = ( FeedInformationImpl ) obj ; setAuthor ( info . getAuthor ( ) ) ; setBlock ( info . getBlock ( ) ) ; getCategories ( ) . clear ( ) ; if ( info . getCategories ( ) != null ) { getCategories ( ) . addAll ( info . getCategories ( ) ) ; } setComplete ( info . getComplete ( ) ) ; setNewFeedUrl ( info . getNewFeedUrl ( ) ) ; setExplicit ( info . getExplicit ( ) ) ; try { if ( info . getImage ( ) != null ) { setImage ( new URL ( info . getImage ( ) . toExternalForm ( ) ) ) ; } } catch ( final MalformedURLException e ) { LOG . debug ( "Error copying URL:" + info . getImage ( ) , e ) ; } if ( info . getKeywords ( ) != null ) { setKeywords ( info . getKeywords ( ) . clone ( ) ) ; } setOwnerEmailAddress ( info . getOwnerEmailAddress ( ) ) ; setOwnerName ( info . getOwnerName ( ) ) ; setSubtitle ( info . getSubtitle ( ) ) ; setSummary ( info . getSummary ( ) ) ; }
Required by the ROME API