/** * RSSAutoDiscover要素からタイトルなどを取得して、FeedSourceに設定する。 * * @param element * @return */ private FeedSource setFeedSource(Element element) { FeedSource entity = new FeedSource(); String title = element.getAttribute(REL_ATTRIBUTE_TITLE); String feedUrl = element.getAttribute(REL_ATTRIBUTE_HREF); entity.setTitle(title); entity.setFeedUrl(feedUrl); return entity; }