com.aetrion.flickr.uploader
Class UploaderResponse

java.lang.Object
  extended by com.aetrion.flickr.uploader.UploaderResponse
All Implemented Interfaces:
Response

public class UploaderResponse
extends java.lang.Object
implements Response

Parsing the response after an upload.

Version:
$Id: UploaderResponse.java,v 1.7 2007/11/02 21:46:52 x-mago Exp $
Author:
Anthony Eden

Constructor Summary
UploaderResponse()
           
 
Method Summary
 java.lang.String getErrorCode()
           
 java.lang.String getErrorMessage()
           
 org.w3c.dom.Element getPayload()
           
 java.util.Collection getPayloadCollection()
           
 java.lang.String getPhotoId()
           
 java.lang.String getStatus()
           
 java.lang.String getTicketId()
           
 boolean isError()
           
 void parse(org.w3c.dom.Document document)
          Parsing the response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploaderResponse

public UploaderResponse()
Method Detail

parse

public void parse(org.w3c.dom.Document document)
Parsing the response.

After a successful sychronous upload the photId is set.
After an asychronous upload the ticketId.

Specified by:
parse in interface Response
See Also:
getPhotoId(), getTicketId()

getStatus

public java.lang.String getStatus()

getPhotoId

public java.lang.String getPhotoId()

getTicketId

public java.lang.String getTicketId()

isError

public boolean isError()
Specified by:
isError in interface Response

getErrorCode

public java.lang.String getErrorCode()
Specified by:
getErrorCode in interface Response

getErrorMessage

public java.lang.String getErrorMessage()
Specified by:
getErrorMessage in interface Response

getPayload

public org.w3c.dom.Element getPayload()
Specified by:
getPayload in interface Response
See Also:
Response.getPayload()

getPayloadCollection

public java.util.Collection getPayloadCollection()
Specified by:
getPayloadCollection in interface Response
See Also:
Response.getPayloadCollection()


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