public static Photoset initializePhotoset(String id, String title, String description) { Photoset photoset = new Photoset(); photoset.setId(id); photoset.setTitle(title); photoset.setDescription(description); return photoset; }
/** * * @param childPhotosetElement * @return */ private Photoset createPhotoset(Element childPhotosetElement) { Photoset photoset = new Photoset(); photoset.setId(childPhotosetElement.getAttribute("id")); photoset.setTitle(childPhotosetElement.getAttribute("title")); photoset.setDescription(childPhotosetElement.getAttribute("description")); return photoset; }
/** * * @param childPhotosetElement * @return */ private Photoset createPhotoset(Element childPhotosetElement) { Photoset photoset = new Photoset(); photoset.setId(childPhotosetElement.getAttribute("id")); photoset.setTitle(childPhotosetElement.getAttribute("title")); photoset.setDescription(childPhotosetElement.getAttribute("description")); return photoset; }
photoset.setDescription(XMLUtilities.getChildValue(photosetElement, "description")); photoset.setPrimaryPhoto(primaryPhoto);
photoset.setDescription(XMLUtilities.getChildValue(photosetElement, "description")); photoset.setPrimaryPhoto(primaryPhoto);
photoset.setIsNeedsInterstitial("1".equals(photosetElement.getAttribute("needs_interstitial"))); photoset.setIsVisible("1".equals(photosetElement.getAttribute("visibility_can_see_set"))); photoset.setDescription(XMLUtilities.getChildValue(photosetElement, "description")); photoset.setDescription(XMLUtilities.getChildValue(photosetElement, "description"));
photoset.setIsNeedsInterstitial("1".equals(photosetElement.getAttribute("needs_interstitial"))); photoset.setIsVisible("1".equals(photosetElement.getAttribute("visibility_can_see_set"))); photoset.setDescription(XMLUtilities.getChildValue(photosetElement, "description")); photoset.setDescription(XMLUtilities.getChildValue(photosetElement, "description"));