* @throws SAXException the response is not a parsable XML.
*/
public PicasaPhoto[] listPhotos() throws IOException, ParserConfigurationException, SAXException{
HttpRequest httpRequest = new HttpRequest(this.feedUrl);
if (this.picasaWeb.getGoogleapi() != null){
KeyValuePair pair = this.picasaWeb.getGoogleapi().toAuthHeader();
httpRequest.addHeader(pair.key, pair.value);
}
String response = httpRequest.send();
Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new InputSource(new StringReader(response)));
List<PicasaPhoto> picasaPhotos = new ArrayList<PicasaPhoto>();