com.aetrion.flickr.photos
Class PhotoUtils

java.lang.Object
  extended by com.aetrion.flickr.photos.PhotoUtils

public final class PhotoUtils
extends java.lang.Object

Utilitiy-methods to transfer requested XML to Photo-objects.

Version:
$Id: PhotoUtils.java,v 1.20 2009/07/23 21:49:35 x-mago Exp $
Author:
till, x-mago

Method Summary
static Photo createPhoto(org.w3c.dom.Element photoElement)
          Transfer the Information of a photo from a DOM-object to a Photo-object.
static Photo createPhoto(org.w3c.dom.Element photoElement, org.w3c.dom.Element defaultElement)
          Transfer the Information of a photo from a DOM-object to a Photo-object.
static PhotoList createPhotoList(org.w3c.dom.Element photosElement)
          Parse a list of Photos from given Element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createPhoto

public static final Photo createPhoto(org.w3c.dom.Element photoElement)
Transfer the Information of a photo from a DOM-object to a Photo-object.

Parameters:
photoElement -
Returns:
Photo

createPhoto

public static final Photo createPhoto(org.w3c.dom.Element photoElement,
                                      org.w3c.dom.Element defaultElement)
Transfer the Information of a photo from a DOM-object to a Photo-object.

Parameters:
photoElement -
defaultElement -
Returns:
Photo

createPhotoList

public static final PhotoList createPhotoList(org.w3c.dom.Element photosElement)
Parse a list of Photos from given Element.

Parameters:
photosElement -
Returns:
PhotoList


Copyright (C) 2005-2008 Aetrion LLC. All Rights Reserved.